pub struct NodeMeta {
pub node_type: u8,
pub size: u64,
pub mtime_ns: u64,
pub mode: u32,
pub hash: u128,
pub dev_ino: (u64, u64),
pub link_dir: bool,
pub filtered: bool,
}Fields§
§node_type: u8Node type in FS_ENTRY_TYPE_MASK bits (flags added at send time).
size: u64§mtime_ns: u64§mode: u32§hash: u128BLAKE3-128 of content; 0 until the file has been read.
dev_ino: (u64, u64)File identity used for move detection; (0, 0) when unavailable.
link_dir: boolSet when node_type is FS_ENTRY_SYMLINK and the target is a
directory. Captured at stat time so the send path and the descent gates
don’t each have to re-resolve the link.
filtered: boolSet on a directory whose last enumeration skipped an excluded
child, and sent as FS_ENTRY_FILTERED. Not a property of the
inode, so stat_meta never sets it: only the enumeration that
applied the rules knows, and it writes the answer back onto the
parent it just listed.
Trait Implementations§
impl Eq for NodeMeta
impl StructuralPartialEq for NodeMeta
Auto Trait Implementations§
impl Freeze for NodeMeta
impl RefUnwindSafe for NodeMeta
impl Send for NodeMeta
impl Sync for NodeMeta
impl Unpin for NodeMeta
impl UnsafeUnpin for NodeMeta
impl UnwindSafe for NodeMeta
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