Struct round_based::Msg [−][src]
Expand description
Represent a message transmitting between parties on wire
Fields
sender: u16Index of the sender
Lies in range [1; n] where n is number of parties involved in computation
receiver: Option<u16>Index of receiver
None indicates that it’s broadcast message. Receiver index, if set, lies in range [1; n]
where n is number of parties involved in computation
body: BMessage body
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<B> RefUnwindSafe for Msg<B> where
B: RefUnwindSafe,
impl<B> UnwindSafe for Msg<B> where
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more