Skip to main content

BebMsg

Type Alias BebMsg 

Source
pub type BebMsg = Wire<EpochMsg>;
Expand description

What the broadcast beneath puts on the wire for this layer’s messages.

Written concretely rather than as a projection, for the reason crate::uniform_reliable_broadcast::BebMsg gives: the projection is only well-formed where EpochMsg: Clone, which would push that bound onto every use. The assertion below keeps the two from drifting apart.

Aliased Type§

pub struct BebMsg {
    pub id: MsgId,
    pub payload: EpochMsg,
}

Fields§

§id: MsgId§payload: EpochMsg