referrerpolicy=no-referrer-when-downgrade
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§

§

V1(CollationProtocol)

V1 type.

§

V2(CollationProtocol)

V2 type.

§

V3(CollationProtocol)

V3 type

Trait Implementations§

source§

impl From<CollationProtocol> for VersionedCollationProtocol

source§

fn from(v2: CollationProtocol) -> Self

Converts to this type from the input type.
source§

impl From<CollationProtocol> for VersionedCollationProtocol

source§

fn from(v1: CollationProtocol) -> Self

Converts to this type from the input type.
source§

impl From<Versioned<CollatorProtocolMessage, CollatorProtocolMessage>> for VersionedCollationProtocol

source§

fn from(versioned_from: CollatorProtocolMessage) -> VersionedCollationProtocol

Converts to this type from the input type.