pub type GossipSupportNetworkMessage = Versioned<GossipSupportNetworkMessage, GossipSupportNetworkMessage, GossipSupportNetworkMessage>;
Expand description

Version-annotated messages used by the gossip-support subsystem (this is void).

Aliased Type§

enum GossipSupportNetworkMessage {
    V1(GossipSupportNetworkMessage),
    V2(GossipSupportNetworkMessage),
    V3(GossipSupportNetworkMessage),
}

Variants§

Trait Implementations§

source§

impl<'a> TryFrom<&'a Versioned<ValidationProtocol, ValidationProtocol, ValidationProtocol>> for GossipSupportNetworkMessage

§

type Error = WrongVariant

The type returned in the event of a conversion error.
source§

fn try_from(_: &'a VersionedValidationProtocol) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Versioned<ValidationProtocol, ValidationProtocol, ValidationProtocol>> for GossipSupportNetworkMessage

§

type Error = WrongVariant

The type returned in the event of a conversion error.
source§

fn try_from(_: VersionedValidationProtocol) -> Result<Self, Self::Error>

Performs the conversion.