W3cubDocs

/Rust

Struct std::os::linux::raw::stat

#[repr(C)]
pub struct stat {
    pub st_dev: u64,
    pub st_ino: u64,
    pub st_nlink: u64,
    pub st_mode: u32,
    pub st_uid: u32,
    pub st_gid: u32,
    pub __pad0: c_int,
    pub st_rdev: u64,
    pub st_size: i64,
    pub st_blksize: i64,
    pub st_blocks: i64,
    pub st_atime: i64,
    pub st_atime_nsec: c_long,
    pub st_mtime: i64,
    pub st_mtime_nsec: c_long,
    pub st_ctime: i64,
    pub st_ctime_nsec: c_long,
    pub __unused: [c_long; 3],
}
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.

Fields

Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.
Deprecated since 1.8.0: these type aliases are no longer supported by the standard library, the libc crate on crates.io should be used instead for the correct definitions This is supported on Linux only.

Trait Implementations

impl Clone for stat [src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for stat

impl Sync for stat

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from #33417)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from #33417)

Performs the conversion.

impl<T> From for T [src]

Performs the conversion.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from #33417)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from #33417)

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

ⓘImportant traits for &'a mut I
impl<'a, I> Iterator for &'a mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<'a, R: Read + ?Sized> Read for &'a mut R
impl<'a, W: Write + ?Sized> Write for &'a mut W

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

ⓘImportant traits for &'a mut I
impl<'a, I> Iterator for &'a mut I where
    I: Iterator + ?Sized, 
    type Item = <I as Iterator>::Item;
impl<'a, R: Read + ?Sized> Read for &'a mut R
impl<'a, W: Write + ?Sized> Write for &'a mut W

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id #27745)this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> ToOwned for T where
    T: Clone
[src]

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into #41263)recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/linux/raw/struct.stat.html