Type Definition polkadot_node_network_protocol::VersionedValidationProtocol
source · pub type VersionedValidationProtocol = Versioned<ValidationProtocol>;
Expand description
All supported versions of the validation protocol message.
Trait Implementations§
source§impl From<ValidationProtocol> for VersionedValidationProtocol
impl From<ValidationProtocol> for VersionedValidationProtocol
source§fn from(v1: ValidationProtocol) -> Self
fn from(v1: ValidationProtocol) -> Self
Converts to this type from the input type.
source§impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<ApprovalDistributionMessage>> for VersionedValidationProtocol
source§fn from(
versioned_from: ApprovalDistributionMessage
) -> VersionedValidationProtocol
fn from( versioned_from: ApprovalDistributionMessage ) -> VersionedValidationProtocol
Converts to this type from the input type.
source§impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<BitfieldDistributionMessage>> for VersionedValidationProtocol
source§fn from(
versioned_from: BitfieldDistributionMessage
) -> VersionedValidationProtocol
fn from( versioned_from: BitfieldDistributionMessage ) -> VersionedValidationProtocol
Converts to this type from the input type.
source§impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<StatementDistributionMessage>> for VersionedValidationProtocol
source§fn from(
versioned_from: StatementDistributionMessage
) -> VersionedValidationProtocol
fn from( versioned_from: StatementDistributionMessage ) -> VersionedValidationProtocol
Converts to this type from the input type.