struct InodeCollector<'a, ObjectID: FsVerityHashValue> {
inodes: Vec<Inode<'a, ObjectID>>,
hardlinks: HashMap<*const Leaf<ObjectID>, usize>,
}Fields§
§inodes: Vec<Inode<'a, ObjectID>>§hardlinks: HashMap<*const Leaf<ObjectID>, usize>Implementations§
Source§impl<'a, ObjectID: FsVerityHashValue> InodeCollector<'a, ObjectID>
impl<'a, ObjectID: FsVerityHashValue> InodeCollector<'a, ObjectID>
fn push_inode( &mut self, stat: &'a Stat, content: InodeContent<'a, ObjectID>, ) -> usize
fn collect_leaf(&mut self, leaf: &'a Rc<Leaf<ObjectID>>) -> usize
fn insert_sorted( entries: &mut Vec<DirEnt<'a>>, name: &'a [u8], inode: usize, file_type: FileType, )
fn collect_dir(&mut self, dir: &'a Directory<ObjectID>, parent: usize) -> usize
pub fn collect(fs: &'a FileSystem<ObjectID>) -> Vec<Inode<'a, ObjectID>>
Auto Trait Implementations§
impl<'a, ObjectID> Freeze for InodeCollector<'a, ObjectID>
impl<'a, ObjectID> !RefUnwindSafe for InodeCollector<'a, ObjectID>
impl<'a, ObjectID> !Send for InodeCollector<'a, ObjectID>
impl<'a, ObjectID> !Sync for InodeCollector<'a, ObjectID>
impl<'a, ObjectID> Unpin for InodeCollector<'a, ObjectID>
impl<'a, ObjectID> !UnwindSafe for InodeCollector<'a, ObjectID>
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