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<Filestat> for Filestat
impl PartialEq<Filestat> for Filestat
impl Eq for Filestat
impl StructuralEq for Filestat
impl StructuralPartialEq for Filestat
Auto Trait Implementations§
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.