pub struct FileStamp {
pub kind: NodeKind,
pub size: u64,
pub mode: u32,
pub mtime_ns: i128,
pub ctime_ns: Option<i128>,
pub file_id: PlatformFileId,
}Expand description
Metadata identity captured for one immutable base-snapshot node.
Fields§
§kind: NodeKindNode kind observed without following a symbolic link.
size: u64Byte size reported by the host.
mode: u32Portable permission/mode bits retained by VSH.
mtime_ns: i128Nanosecond modification time.
ctime_ns: Option<i128>Nanosecond metadata-change time when the host exposes it.
file_id: PlatformFileIdStable platform file identity for race detection.
Trait Implementations§
impl Copy for FileStamp
impl Eq for FileStamp
Source§impl Ord for FileStamp
impl Ord for FileStamp
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for FileStamp
impl PartialOrd for FileStamp
impl StructuralPartialEq for FileStamp
Auto Trait Implementations§
impl Freeze for FileStamp
impl RefUnwindSafe for FileStamp
impl Send for FileStamp
impl Sync for FileStamp
impl Unpin for FileStamp
impl UnsafeUnpin for FileStamp
impl UnwindSafe for FileStamp
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