Struct libc::open_how

#[repr(C)]
#[non_exhaustive]
pub struct open_how {    
    pub flags: ::__u64,
    pub mode: ::__u64,
    pub resolve: ::__u64,
}

Fields

pub flags: ::__u64
pub mode: ::__u64
pub resolve: ::__u64

Trait Implementations

impl Clone for open_how
fn clone(&Self) -> open_how
impl Copy for open_how
impl Debug for open_how
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Eq for open_how
impl Hash for open_how
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl PartialEq<open_how> for open_how
fn eq(&Self, other: &open_how) -> bool
fn ne(&Self, other: &open_how) -> bool

Auto Trait Implementations

impl Send for open_how
impl Sync for open_how
impl Unpin for open_how
impl UnwindSafe for open_how

Blanket Implementations

impl<T> Any for T
where
    T: 'static + ?Sized,
fn type_id(&Self) -> TypeId
impl<T> Borrow<T> for T
where
    T: ?Sized,
fn borrow(&Self) -> &T
impl<T> BorrowMut<T> for T
where
    T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T
impl<T> From<T> for T
fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for T
where
    U: From<T>,
fn into(Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl<T, U> TryFrom<U> for T
where
    U: Into<T>,
type Error = Infallible
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for T
where
    U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
fn try_into(Self) -> Result<U, <U as TryFrom<T>>::Error>