Struct libp2p::gossipsub::protocol::ProtocolId [−][src]
Expand description
The protocol ID
Fields
protocol_id: Vec<u8, Global>The RPC message type/name.
kind: PeerKindThe type of protocol we support
Implementations
An RPC protocol ID.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ProtocolIdimpl Send for ProtocolIdimpl Sync for ProtocolIdimpl Unpin for ProtocolIdimpl UnwindSafe for ProtocolIdBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V