pub enum IODirection {
None,
Read,
Write,
Both,
}Expand description
Selects whether to wait for a CbHandle to be available for reading, writing, or both.
Variants§
Trait Implementations§
Source§impl Clone for IODirection
impl Clone for IODirection
Source§fn clone(&self) -> IODirection
fn clone(&self) -> IODirection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IODirection
impl Debug for IODirection
Source§impl Ord for IODirection
impl Ord for IODirection
Source§fn cmp(&self, other: &IODirection) -> Ordering
fn cmp(&self, other: &IODirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IODirection
impl PartialEq for IODirection
Source§impl PartialOrd for IODirection
impl PartialOrd for IODirection
impl Copy for IODirection
impl Eq for IODirection
impl StructuralPartialEq for IODirection
Auto Trait Implementations§
impl Freeze for IODirection
impl RefUnwindSafe for IODirection
impl Send for IODirection
impl Sync for IODirection
impl Unpin for IODirection
impl UnwindSafe for IODirection
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