Struct libp2p_swarm::handler::AddressChange
source · pub struct AddressChange<'a> {
pub new_address: &'a Multiaddr,
}
Expand description
ConnectionEvent
variant that informs the handler about a change in the address of the remote.
Fields§
§new_address: &'a Multiaddr
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AddressChange<'a>
impl<'a> Send for AddressChange<'a>
impl<'a> Sync for AddressChange<'a>
impl<'a> Unpin for AddressChange<'a>
impl<'a> UnwindSafe for AddressChange<'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