Struct libp2p_swarm::behaviour::ListenerError
source · pub struct ListenerError<'a> {
pub listener_id: ListenerId,
pub err: &'a (dyn Error + 'static),
}
Expand description
FromSwarm
variant that informs the behaviour that a listener experienced an error.
Fields§
§listener_id: ListenerId
§err: &'a (dyn Error + 'static)
Trait Implementations§
source§impl<'a> Clone for ListenerError<'a>
impl<'a> Clone for ListenerError<'a>
source§fn clone(&self) -> ListenerError<'a>
fn clone(&self) -> ListenerError<'a>
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