pub struct Attrs {
pub node: NodeId,
pub kind: NodeKind,
pub size: u64,
pub unix_mode: u32,
pub nlink: u32,
pub mtime: SystemTime,
}Expand description
Stat-style attributes for a single node.
Fields§
§node: NodeId§kind: NodeKind§size: u64§unix_mode: u32§nlink: u32§mtime: SystemTimeModification / change times. The mount has no per-blob clock,
so we report a single fixed timestamp captured when the mount
was created. This keeps ls -l from showing nonsense and
makes diffs against a stable reference deterministic.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attrs
impl RefUnwindSafe for Attrs
impl Send for Attrs
impl Sync for Attrs
impl Unpin for Attrs
impl UnsafeUnpin for Attrs
impl UnwindSafe for Attrs
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