Struct StatNS

Source
pub struct StatNS {
Show 22 fields pub st_dev: i64, pub st_ino: i64, pub st_mode: i64, pub st_nlink: i64, pub st_uid: i64, pub st_gid: i64, pub st_rdev: i64, pub st_size: i64, pub st_blksize: i64, pub st_blocks: i64, pub st_atime_sec: i64, pub st_atime_nsec: i64, pub st_mtime_sec: i64, pub st_mtime_nsec: i64, pub st_ctime_sec: i64, pub st_ctime_nsec: i64, pub st_spare1: i64, pub st_spare2: i64, pub st_spare3: i64, pub st_spare4: i64, pub st_spare5: i64, pub st_spare6: i64,
}

Fields§

§st_dev: i64§st_ino: i64§st_mode: i64§st_nlink: i64§st_uid: i64§st_gid: i64§st_rdev: i64§st_size: i64§st_blksize: i64§st_blocks: i64§st_atime_sec: i64§st_atime_nsec: i64§st_mtime_sec: i64§st_mtime_nsec: i64§st_ctime_sec: i64§st_ctime_nsec: i64§st_spare1: i64§st_spare2: i64§st_spare3: i64§st_spare4: i64§st_spare5: i64§st_spare6: i64

Trait Implementations§

Source§

impl TryFrom<*const RawStatNS> for StatNS

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(raw: *const RawStatNS) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl Freeze for StatNS

§

impl RefUnwindSafe for StatNS

§

impl Send for StatNS

§

impl Sync for StatNS

§

impl Unpin for StatNS

§

impl UnwindSafe for StatNS

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

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

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.