referrerpolicy=no-referrer-when-downgrade

Type Alias StatementDistributionMessage

Source
pub type StatementDistributionMessage = ValidationProtocols<StatementDistributionMessage>;
Expand description

Version-annotated messages used by the statement distribution subsystem.

Aliased Type§

enum StatementDistributionMessage {
    V3(StatementDistributionMessage),
}

Variants§

Trait Implementations§

Source§

impl<'a> TryFrom<&'a ValidationProtocols<ValidationProtocol>> for StatementDistributionMessage

Source§

type Error = WrongVariant

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

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

Performs the conversion.
Source§

impl TryFrom<ValidationProtocols<ValidationProtocol>> for StatementDistributionMessage

Source§

type Error = WrongVariant

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

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

Performs the conversion.