pub struct DirHandle<'fs, 'a> { /* private fields */ }Expand description
Stream-like directory handle for the public read API.
The handle borrows the mounted filesystem and stores only a directory head
plus cursor position. Reads fold metadata on demand instead of keeping an
owned Vec<DirEntry> snapshot, which keeps large directory handles bounded
by metadata scratch state rather than entry count.
Implementations§
Auto Trait Implementations§
impl<'fs, 'a> Freeze for DirHandle<'fs, 'a>
impl<'fs, 'a> !RefUnwindSafe for DirHandle<'fs, 'a>
impl<'fs, 'a> !Send for DirHandle<'fs, 'a>
impl<'fs, 'a> !Sync for DirHandle<'fs, 'a>
impl<'fs, 'a> Unpin for DirHandle<'fs, 'a>
impl<'fs, 'a> UnsafeUnpin for DirHandle<'fs, 'a>
impl<'fs, 'a> !UnwindSafe for DirHandle<'fs, 'a>
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