pub struct FsSnapshot {
pub next_inode: InodeId,
pub root_inode: InodeId,
pub inodes: Vec<InodeSnapshot>,
}Expand description
Snapshot of the entire filesystem state
Fields§
§next_inode: InodeIdNext inode ID to allocate
root_inode: InodeIdRoot inode ID
inodes: Vec<InodeSnapshot>All inodes in the filesystem
Trait Implementations§
Source§impl Clone for FsSnapshot
impl Clone for FsSnapshot
Source§fn clone(&self) -> FsSnapshot
fn clone(&self) -> FsSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FsSnapshot
impl RefUnwindSafe for FsSnapshot
impl Send for FsSnapshot
impl Sync for FsSnapshot
impl Unpin for FsSnapshot
impl UnsafeUnpin for FsSnapshot
impl UnwindSafe for FsSnapshot
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