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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)