Struct aleph_bft::NetworkData [−][src]
pub struct NetworkData<H: Hasher, D: Data, S: Signature, MS: PartialMultisignature>(_);
Expand description
NetworkData is the opaque format for all data that a committee member needs to send to other nodes.
Implementations
Returns all the Data in the network message that might end up in the ordering as a result of accepting this message. Useful for ensuring data availability, if Data only represents the objects the user wants to order, and facilitates access to the Data before it is ordered for optimization purposes.
Trait Implementations
impl<H: Hasher, D: Data, S: Signature, MS: PartialMultisignature> Decode for NetworkData<H, D, S, MS>
impl<H: Hasher, D: Data, S: Signature, MS: PartialMultisignature> Decode for NetworkData<H, D, S, MS>
impl<H: Hasher, D: Data, S: Signature, MS: PartialMultisignature> Encode for NetworkData<H, D, S, MS>
impl<H: Hasher, D: Data, S: Signature, MS: PartialMultisignature> Encode for NetworkData<H, D, S, MS>
Auto Trait Implementations
impl<H, D, S, MS> !RefUnwindSafe for NetworkData<H, D, S, MS>
impl<H, D, S, MS> Send for NetworkData<H, D, S, MS>
impl<H, D, S, MS> Sync for NetworkData<H, D, S, MS>
impl<H, D, S, MS> Unpin for NetworkData<H, D, S, MS> where
D: Unpin,
MS: Unpin,
S: Unpin,
<H as Hasher>::Hash: Unpin,
impl<H, D, S, MS> UnwindSafe for NetworkData<H, D, S, MS> where
D: UnwindSafe,
MS: UnwindSafe,
S: UnwindSafe,
<H as Hasher>::Hash: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more