pub enum IoDirection {
Read,
Write,
ReadWrite,
}Expand description
Direction for I/O operations – Read/Write/ReadWrite.
Variants§
Read
Read from the specified file.
Write
Write to the specified file.
ReadWrite
Read and write to the specified file.
Auto Trait Implementations§
impl Freeze for IoDirection
impl RefUnwindSafe for IoDirection
impl Send for IoDirection
impl Sync for IoDirection
impl Unpin for IoDirection
impl UnsafeUnpin 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