Struct libp2p::core::transport::ListenerId
source · pub struct ListenerId(_);
Expand description
The ID of a single listener.
Implementations§
source§impl ListenerId
impl ListenerId
sourcepub fn new() -> ListenerId
pub fn new() -> ListenerId
Creates a new 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 Default for ListenerId
impl Default for ListenerId
source§fn default() -> ListenerId
fn default() -> ListenerId
Returns the “default value” for a type. Read more