pub enum OpenIntent {
Read,
WriteTruncate,
}Expand description
What kind of access an open_beneath call needs.
Variants§
Read
Open an existing file read-only.
WriteTruncate
Create-or-truncate for writing (O_WRONLY|O_CREAT|O_TRUNC).
Trait Implementations§
Source§impl Clone for OpenIntent
impl Clone for OpenIntent
Source§fn clone(&self) -> OpenIntent
fn clone(&self) -> OpenIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpenIntent
Source§impl Debug for OpenIntent
impl Debug for OpenIntent
impl Eq for OpenIntent
Source§impl PartialEq for OpenIntent
impl PartialEq for OpenIntent
impl StructuralPartialEq for OpenIntent
Auto Trait Implementations§
impl Freeze for OpenIntent
impl RefUnwindSafe for OpenIntent
impl Send for OpenIntent
impl Sync for OpenIntent
impl Unpin for OpenIntent
impl UnsafeUnpin for OpenIntent
impl UnwindSafe for OpenIntent
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