Enum libp2p_core::connection::Event
source · [−]pub enum Event<T> {
Handler(T),
AddressChange(Multiaddr),
}Expand description
Event generated by a Connection.
Variants
Handler(T)
Event generated by the ConnectionHandler.
AddressChange(Multiaddr)
Address of the remote has changed.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Event<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Event<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more