Struct libp2p_core::transport::ListenerId
source · pub struct ListenerId(/* private fields */);
Expand description
The ID of a single listener.
Implementations§
source§impl ListenerId
impl ListenerId
Trait Implementations§
source§impl Clone for ListenerId
impl Clone for ListenerId
source§fn clone(&self) -> ListenerId
fn clone(&self) -> ListenerId
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 Debug for ListenerId
impl Debug for ListenerId
source§impl Display for ListenerId
impl Display for ListenerId
source§impl Hash for ListenerId
impl Hash for ListenerId
source§impl PartialEq for ListenerId
impl PartialEq for ListenerId
source§fn eq(&self, other: &ListenerId) -> bool
fn eq(&self, other: &ListenerId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ListenerId
impl Eq for ListenerId
impl StructuralEq for ListenerId
impl StructuralPartialEq for ListenerId
Auto Trait Implementations§
impl RefUnwindSafe for ListenerId
impl Send for ListenerId
impl Sync for ListenerId
impl Unpin for ListenerId
impl UnwindSafe for ListenerId
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