pub struct DirEntry<'a> {
pub ino: ino64_t,
pub off: off64_t,
pub entry_type: DirEntryType,
pub name: &'a CStr,
}
Expand description
A single directory entry extracted from a buffer populated by getdents64
.
Fields§
§ino: ino64_t
§off: off64_t
§entry_type: DirEntryType
§name: &'a CStr
Trait Implementations§
impl<'a> Eq for DirEntry<'a>
impl<'a> StructuralPartialEq for DirEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirEntry<'a>
impl<'a> RefUnwindSafe for DirEntry<'a>
impl<'a> Send for DirEntry<'a>
impl<'a> Sync for DirEntry<'a>
impl<'a> Unpin for DirEntry<'a>
impl<'a> UnwindSafe for DirEntry<'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