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 for BlockDirections
impl PartialEq for BlockDirections
impl StructuralPartialEq for BlockDirections
Auto Trait Implementations§
impl Freeze for BlockDirections
impl RefUnwindSafe for BlockDirections
impl Send for BlockDirections
impl Sync for BlockDirections
impl Unpin for BlockDirections
impl UnwindSafe for BlockDirections
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more