Enum libp2p::swarm::CloseConnection [−][src]
pub enum CloseConnection { One(ConnectionId), All, }
Expand description
The options which connections to close.
Variants
One(ConnectionId)
Disconnect a particular connection.
Disconnect all connections.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CloseConnection
impl Send for CloseConnection
impl Sync for CloseConnection
impl Unpin for CloseConnection
impl UnwindSafe for CloseConnection
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V