[−][src]Trait libp2p_core::upgrade::ProtocolName
Types serving as protocol names.
Required methods
fn protocol_name(&self) -> &[u8]
The protocol name as bytes.
Types serving as protocol names.
fn protocol_name(&self) -> &[u8]
The protocol name as bytes.
impl<A: ProtocolName, B: ProtocolName> ProtocolName for EitherName<A, B>
[src]fn protocol_name(&self) -> &[u8]
[src]impl<T: AsRef<[u8]>> ProtocolName for T
[src]fn protocol_name(&self) -> &[u8]
[src]