Struct libp2p::swarm::behaviour::ExpiredExternalAddr
source · pub struct ExpiredExternalAddr<'a> {
pub addr: &'a Multiaddr,
}
Expand description
FromSwarm
variant that informs the behaviour that an external address was removed.
Fields§
§addr: &'a Multiaddr
Trait Implementations§
source§impl<'a> Clone for ExpiredExternalAddr<'a>
impl<'a> Clone for ExpiredExternalAddr<'a>
source§fn clone(&self) -> ExpiredExternalAddr<'a>
fn clone(&self) -> ExpiredExternalAddr<'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 moreimpl<'a> Copy for ExpiredExternalAddr<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExpiredExternalAddr<'a>
impl<'a> Send for ExpiredExternalAddr<'a>
impl<'a> Sync for ExpiredExternalAddr<'a>
impl<'a> Unpin for ExpiredExternalAddr<'a>
impl<'a> UnwindSafe for ExpiredExternalAddr<'a>
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