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
Auto Trait Implementations
impl RefUnwindSafe for CloseConnectionimpl Send for CloseConnectionimpl Sync for CloseConnectionimpl Unpin for CloseConnectionimpl UnwindSafe for CloseConnectionBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V