Enum libp2p_swarm::behaviour::NotifyHandler
source · [−]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.
Any
Notify an arbitrary connection handler.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NotifyHandler
impl Send for NotifyHandler
impl Sync for NotifyHandler
impl Unpin for NotifyHandler
impl UnwindSafe for NotifyHandler
Blanket Implementations
Mutably borrows from an owned value. Read more