Type Definition polkadot_node_network_protocol::VersionedCollationProtocol
source · pub type VersionedCollationProtocol = Versioned<CollationProtocol>;
Expand description
All supported versions of the collation protocol message.
Trait Implementations§
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>> for VersionedCollationProtocol
impl From<Versioned<CollatorProtocolMessage>> for VersionedCollationProtocol
source§fn from(versioned_from: CollatorProtocolMessage) -> VersionedCollationProtocol
fn from(versioned_from: CollatorProtocolMessage) -> VersionedCollationProtocol
Converts to this type from the input type.