Enum ssh2::BlockDirections
source · pub enum BlockDirections {
None,
Inbound,
Outbound,
Both,
}
Expand description
The io direction an application has to wait for in order not to block.
Variants§
None
No direction blocked.
Inbound
Inbound direction blocked.
Outbound
Outbound direction blockd.
Both
Inbound and Outbound direction blocked.
Trait Implementations§
source§impl Debug for BlockDirections
impl Debug for BlockDirections
source§impl PartialEq<BlockDirections> for BlockDirections
impl PartialEq<BlockDirections> for BlockDirections
source§fn eq(&self, other: &BlockDirections) -> bool
fn eq(&self, other: &BlockDirections) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.