pub type VersionedCollationProtocol = Versioned<CollationProtocol, CollationProtocol>;
Expand description
All supported versions of the collation protocol message.
Aliased Type§
enum VersionedCollationProtocol {
V1(CollationProtocol),
V2(CollationProtocol),
V3(CollationProtocol),
}
Variants§
Trait Implementations§
source§impl From<CollationProtocol> for VersionedCollationProtocol
impl From<CollationProtocol> for VersionedCollationProtocol
source§fn from(v2: CollationProtocol) -> Self
fn from(v2: CollationProtocol) -> Self
Converts to this type from the input type.
source§impl From<CollationProtocol> for VersionedCollationProtocol
impl From<CollationProtocol> for VersionedCollationProtocol
source§fn from(v1: CollationProtocol) -> Self
fn from(v1: CollationProtocol) -> Self
Converts to this type from the input type.
source§impl From<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>> for VersionedCollationProtocol
impl From<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>> for VersionedCollationProtocol
source§fn from(versioned_from: CollatorProtocolMessage) -> VersionedCollationProtocol
fn from(versioned_from: CollatorProtocolMessage) -> VersionedCollationProtocol
Converts to this type from the input type.