pub struct FileMeta {
pub size: u64,
pub mtime_nanos: i64,
pub ctime_nanos: i64,
pub inode: u64,
pub device: u64,
pub mode: u32,
pub owner: Owner,
}Expand description
The metadata of a regular file that a cache check compares.
Fields§
§size: u64The size in bytes.
mtime_nanos: i64The modification time, in nanoseconds since the Unix epoch.
ctime_nanos: i64The change time, in nanoseconds since the Unix epoch.
inode: u64The inode number.
device: u64The device number.
mode: u32The mode: the file type and permission bits.
owner: OwnerThe owner.
Implementations§
Trait Implementations§
impl Copy for FileMeta
impl Eq for FileMeta
impl StructuralPartialEq for FileMeta
Auto Trait Implementations§
impl Freeze for FileMeta
impl RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl UnsafeUnpin for FileMeta
impl UnwindSafe for FileMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.