Struct openat_ct::DirFlags [−][src]
pub struct DirFlags { /* fields omitted */ }
Expand description
‘Dir::new()’ creates a new DirFlags object with default (O_CLOEXEC) flags. One can then freely add/remove flags to the set. The final open calls will add O_DIRECTORY and O_PATH as applicable/supported but not verify or remove any defined flags. This allows passing flags the ‘openat’ implementation is not even aware about. Thus the open call may fail with some error when one constructed an invalid flag set.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DirFlags
impl UnwindSafe for DirFlags
Blanket Implementations
Mutably borrows from an owned value. Read more