Struct OpenHow
struct OpenHow(_)
Specifies how [openat2()] should open a pathname.
Reference
Implementations
impl OpenHow
fn new() -> SelfCreate a new zero-filled
open_how.fn flags(self: Self, flags: OFlag) -> SelfSet the open flags used to open a file, completely overwriting any existing flags.
fn mode(self: Self, mode: Mode) -> SelfSet the file mode new files will be created with, overwriting any existing flags.
fn resolve(self: Self, resolve: ResolveFlag) -> SelfSet resolve flags, completely overwriting any existing flags.
See [ResolveFlag] for more detail.
impl Clone for OpenHow
fn clone(self: &Self) -> OpenHow
impl Copy for OpenHow
impl Debug for OpenHow
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for OpenHow
fn default() -> Self
impl Freeze for OpenHow
impl RefUnwindSafe for OpenHow
impl Send for OpenHow
impl Sync for OpenHow
impl Unpin for OpenHow
impl UnsafeUnpin for OpenHow
impl UnwindSafe for OpenHow
impl<T> Any for OpenHow
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for OpenHow
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for OpenHow
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for OpenHow
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for OpenHow
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for OpenHow
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for OpenHow
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for OpenHow
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for OpenHow
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>