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§
Trait Implementations§
source§impl Clone for ProtocolId
impl Clone for ProtocolId
source§fn clone(&self) -> ProtocolId
fn clone(&self) -> ProtocolId
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more