Enum libp2p::core::connection::Event [−][src]
pub enum Event<T> {
Handler(T),
AddressChange(Multiaddr),
}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,
T: RefUnwindSafe,
impl<T> Send for Event<T> where
T: Send,
T: Send,
impl<T> Sync for Event<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Event<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Event<T> where
T: UnwindSafe,
T: UnwindSafe,