Struct mount_attr

#[repr(C)]
pub struct mount_attr { pub attr_set: __u64, pub attr_clr: __u64, pub propagation: __u64, pub userns_fd: __u64 }

Fields

attr_set: __u64
attr_clr: __u64
propagation: __u64
userns_fd: __u64

Trait Implementations

impl Clone for mount_attr

fn clone(&self) -> mount_attr

impl Copy for mount_attr

impl Debug for mount_attr

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for mount_attr

impl Hash for mount_attr

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for mount_attr

fn eq(&self, other: &mount_attr) -> bool

impl StructuralPartialEq for mount_attr

Auto Trait Implementations

impl Freeze for mount_attr

impl RefUnwindSafe for mount_attr

impl Send for mount_attr

impl Sync for mount_attr

impl Unpin for mount_attr

impl UnsafeUnpin for mount_attr

impl UnwindSafe for mount_attr

Blanket Implementations

impl<T> Any for mount_attr where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for mount_attr where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for mount_attr where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for mount_attr where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for mount_attr

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for mount_attr 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 mount_attr where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for mount_attr where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>