Struct libp2p_swarm::handler::multi::IndexedProtoName
source · pub struct IndexedProtoName<H>(_, _);
Expand description
Index and protocol name pair used as UpgradeInfo::Info
.
Trait Implementations§
source§impl<H: Clone> Clone for IndexedProtoName<H>
impl<H: Clone> Clone for IndexedProtoName<H>
source§fn clone(&self) -> IndexedProtoName<H>
fn clone(&self) -> IndexedProtoName<H>
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 moresource§impl<H: Debug> Debug for IndexedProtoName<H>
impl<H: Debug> Debug for IndexedProtoName<H>
source§impl<H: ProtocolName> ProtocolName for IndexedProtoName<H>
impl<H: ProtocolName> ProtocolName for IndexedProtoName<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for IndexedProtoName<H>where H: RefUnwindSafe,
impl<H> Send for IndexedProtoName<H>where H: Send,
impl<H> Sync for IndexedProtoName<H>where H: Sync,
impl<H> Unpin for IndexedProtoName<H>where H: Unpin,
impl<H> UnwindSafe for IndexedProtoName<H>where H: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more