pub type VersionedValidationProtocol = Versioned<ValidationProtocol, ValidationProtocol, ValidationProtocol>;
Expand description
All supported versions of the validation protocol message.
Aliased Type§
enum VersionedValidationProtocol {
V1(ValidationProtocol),
V2(ValidationProtocol),
V3(ValidationProtocol),
}
Variants§
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<ValidationProtocol> for VersionedValidationProtocol
impl From<ValidationProtocol> for VersionedValidationProtocol
source§fn from(v3: ValidationProtocol) -> Self
fn from(v3: ValidationProtocol) -> Self
Converts to this type from the input type.
source§impl From<ValidationProtocol> for VersionedValidationProtocol
impl From<ValidationProtocol> for VersionedValidationProtocol
source§fn from(v2: ValidationProtocol) -> Self
fn from(v2: ValidationProtocol) -> Self
Converts to this type from the input type.
source§impl From<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage, ApprovalDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<ApprovalDistributionMessage, ApprovalDistributionMessage, 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, BitfieldDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<BitfieldDistributionMessage, 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, StatementDistributionMessage>> for VersionedValidationProtocol
impl From<Versioned<StatementDistributionMessage, StatementDistributionMessage>> for VersionedValidationProtocol
source§fn from(
versioned_from: StatementDistributionMessage,
) -> VersionedValidationProtocol
fn from( versioned_from: StatementDistributionMessage, ) -> VersionedValidationProtocol
Converts to this type from the input type.