Struct openat_ct::DirMethodFlags [−][src]
pub struct DirMethodFlags<'a> { /* fields omitted */ }
Expand description
‘Dir::with(&self)’/‘Dir::with(&self)’ creates a new DirMethodsFlags object with default (O_CLOEXEC|O_NOFOLLOW) flags. One can then freely add/remove flags to the set. Implements proxies for the Dir:: methods that open contained objects.
Implementations
Open file for reading in this directory
Open file for writing, create if necessary, truncate on open
Open file for append, create if necessary
👎 Deprecated since 0.1.7: please use write_file
instead
👎 Deprecated since 0.1.7:
please use write_file
instead
Create file for writing (and truncate) in this directory
Create a tmpfile in this directory which isn’t linked to any filename
Create file if not exists, fail if exists
Creates a new ‘Normal’ independently owned handle to the underlying directory.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for DirMethodFlags<'a>
impl<'a> Send for DirMethodFlags<'a>
impl<'a> Sync for DirMethodFlags<'a>
impl<'a> Unpin for DirMethodFlags<'a>
impl<'a> UnwindSafe for DirMethodFlags<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more