Skip to main content

Carried

Type Alias Carried 

Source
pub type Carried<P> = Flood<P>;
Expand description

What a link beneath this layer must carry.

A caller supplying their own link needs this and should not have to read the source to find it: the payload is wrapped as Flood — a round’s proposal or a decision, so the link carries Carried<P> rather than P.

Aliased Type§

pub enum Carried<P> {
    Proposal {
        round: u64,
        proposals: BTreeSet<P>,
    },
    Decided(P),
}

Variants§

§

Proposal

Fields

§round: u64
§proposals: BTreeSet<P>
§

Decided(P)