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.
Tuple Fields of One
0: ConnectionId
Disconnect all connections.
Trait Implementations
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