Struct libp2p_gossipsub::protocol::ProtocolId
source · [−]Expand description
The protocol ID
Fields
protocol_id: Vec<u8>
The RPC message type/name.
kind: PeerKind
The type of protocol we support
Implementations
An RPC protocol ID.
Trait Implementations
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