referrerpolicy=no-referrer-when-downgrade

Type Alias ApprovalDistributionMessage

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

Version-annotated messages used by the approval distribution subsystem.

Aliased Type§

enum ApprovalDistributionMessage {
    V3(ApprovalDistributionMessage),
}

Variants§

Trait Implementations§

Source§

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

Source§

type Error = WrongVariant

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

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

Performs the conversion.
Source§

impl TryFrom<ValidationProtocols<ValidationProtocol>> for ApprovalDistributionMessage

Source§

type Error = WrongVariant

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

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

Performs the conversion.