Enum libp2p_swarm::NotifyHandler [−][src]
pub enum NotifyHandler {
One(ConnectionId),
Any,
}Expand description
The options w.r.t. which connection handler to notify of an event.
Variants
One(ConnectionId)Notify a particular connection handler.
Notify an arbitrary connection handler.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotifyHandlerimpl Send for NotifyHandlerimpl Sync for NotifyHandlerimpl Unpin for NotifyHandlerimpl UnwindSafe for NotifyHandlerBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V