Enum libp2p_swarm::NotifyHandler [−][src]
pub enum NotifyHandler { One(ConnectionId), Any, }
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
impl Clone for NotifyHandler
[src]
impl Clone for NotifyHandler
[src]