Enum wayrs_core::IoMode
source · pub enum IoMode {
Blocking,
NonBlocking,
}
Expand description
The “mode” of an IO operation
Variants§
Blocking
Blocking.
The function call may block, but it will never return WouldBlock error.
NonBlocking
Non-blocking.
The function call will not block on IO operations. WouldBlock error is returned if the operation cannot be completed immediately.
Trait Implementations§
source§impl PartialEq for IoMode
impl PartialEq for IoMode
impl Copy for IoMode
impl Eq for IoMode
impl StructuralPartialEq for IoMode
Auto Trait Implementations§
impl Freeze for IoMode
impl RefUnwindSafe for IoMode
impl Send for IoMode
impl Sync for IoMode
impl Unpin for IoMode
impl UnwindSafe for IoMode
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