Enum libp2p::core::connection::Event [−][src]
pub enum Event<T> {
Handler(T),
AddressChange(Multiaddr),
}
Expand description
Event generated by a Connection
.
Variants
Event generated by the ConnectionHandler
.
AddressChange(Multiaddr)
Address of the remote has changed.
Tuple Fields of AddressChange
0: Multiaddr
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