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.
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
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V