pub struct FsNode {
pub entry_flags: u8,
pub size: u64,
pub mtime_ns: u64,
pub mode: u32,
pub hash: u128,
pub content: Option<Vec<u8>>,
}Expand description
One node in a mirrored tree.
Fields§
§entry_flags: u8§size: u64§mtime_ns: u64§mode: u32§hash: u128§content: Option<Vec<u8>>Present when the sync requested content and the file fits the
inline limit. None does not mean empty — check entry_flags.
Trait Implementations§
impl Eq for FsNode
impl StructuralPartialEq for FsNode
Auto Trait Implementations§
impl Freeze for FsNode
impl RefUnwindSafe for FsNode
impl Send for FsNode
impl Sync for FsNode
impl Unpin for FsNode
impl UnsafeUnpin for FsNode
impl UnwindSafe for FsNode
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