Struct compio_driver::op::OpenFile
source · pub struct OpenFile { /* private fields */ }
Expand description
Open or create a file with flags and mode.
Implementations§
Trait Implementations§
source§impl OpCode for OpenFile
impl OpCode for OpenFile
source§fn is_nonblocking(&self) -> bool
fn is_nonblocking(&self) -> bool
Determines that the operation is really non-blocking defined by POSIX.
If not, the driver will try to operate it in another thread.
Auto Trait Implementations§
impl RefUnwindSafe for OpenFile
impl Send for OpenFile
impl Sync for OpenFile
impl Unpin for OpenFile
impl UnwindSafe for OpenFile
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