pub type BitfieldDistributionMessage = Versioned<BitfieldDistributionMessage>;
Expand description

Version-annotated messages used by the bitfield distribution subsystem.

Trait Implementations§

source§

impl<'a> TryFrom<&'a Versioned<ValidationProtocol>> for BitfieldDistributionMessage

§

type Error = WrongVariant

The type returned in the event of a conversion error.
source§

fn try_from( x: &'a VersionedValidationProtocol ) -> Result<BitfieldDistributionMessage, Self::Error>

Performs the conversion.
source§

impl TryFrom<Versioned<ValidationProtocol>> for BitfieldDistributionMessage

§

type Error = WrongVariant

The type returned in the event of a conversion error.
source§

fn try_from( x: VersionedValidationProtocol ) -> Result<BitfieldDistributionMessage, Self::Error>

Performs the conversion.