referrerpolicy=no-referrer-when-downgrade

Type Alias GossipSupportNetworkMessage

Source
pub type GossipSupportNetworkMessage = ValidationProtocols<GossipSupportNetworkMessage>;
Expand description

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

Aliased Type§

enum GossipSupportNetworkMessage {
    V3(GossipSupportNetworkMessage),
}

Variants§

Trait Implementations§

Source§

impl<'a> TryFrom<&'a ValidationProtocols<ValidationProtocol>> for GossipSupportNetworkMessage

Source§

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<ValidationProtocols<ValidationProtocol>> for GossipSupportNetworkMessage

Source§

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.