pub struct Entry {
pub ino: Inode,
pub kind: FileKind,
pub name: Vec<u8>,
pub offset: u64,
}Expand description
A single directory entry from crate::Filesystem::readdir.
Fields§
§ino: Inode§kind: FileKind§name: Vec<u8>§offset: u64Cookie a caller passes back to resume reading strictly after this entry. Stable as long as the directory layout doesn’t change.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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