Enum network::protocols::wire::handshake::v1::ProtocolId [−][src]
#[repr(u8)]
pub enum ProtocolId {
ConsensusRpcBcs,
ConsensusDirectSendBcs,
MempoolDirectSend,
StateSyncDirectSend,
DiscoveryDirectSend,
HealthCheckerRpc,
ConsensusDirectSendJson,
ConsensusRpcJson,
StorageServiceRpc,
MempoolRpc,
}Expand description
Unique identifier associated with each application protocol.
Variants
Implementations
Trait Implementations
type Parameters = ()
type Parameters = ()
The type of parameters that arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Creates a value from an iterator. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProtocolId
impl Send for ProtocolId
impl Sync for ProtocolId
impl Unpin for ProtocolId
impl UnwindSafe for ProtocolId
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.