Struct wasi_common::file::Filestat
source · pub struct Filestat {
pub device_id: u64,
pub inode: u64,
pub filetype: FileType,
pub nlink: u64,
pub size: u64,
pub atim: Option<SystemTime>,
pub mtim: Option<SystemTime>,
pub ctim: Option<SystemTime>,
}
Fields§
§device_id: u64
§inode: u64
§filetype: FileType
§nlink: u64
§size: u64
§atim: Option<SystemTime>
§mtim: Option<SystemTime>
§ctim: Option<SystemTime>
Trait Implementations§
source§impl PartialEq for Filestat
impl PartialEq for Filestat
impl Eq for Filestat
impl StructuralPartialEq for Filestat
Auto Trait Implementations§
impl Freeze for Filestat
impl RefUnwindSafe for Filestat
impl Send for Filestat
impl Sync for Filestat
impl Unpin for Filestat
impl UnwindSafe for Filestat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.