Struct rustix::fs::raw_dir::RawDirEntry
source · pub struct RawDirEntry<'a> {
file_name: &'a CStr,
file_type: u8,
inode_number: u64,
next_entry_cookie: i64,
}
Expand description
A raw directory entry, similar to std::fs::DirEntry
.
Unlike the std version, this may represent the .
or ..
entries.
Fields§
§file_name: &'a CStr
§file_type: u8
§inode_number: u64
Implementations§
source§impl<'a> RawDirEntry<'a>
impl<'a> RawDirEntry<'a>
Returns the seek cookie to the next directory entry.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RawDirEntry<'a>
impl<'a> RefUnwindSafe for RawDirEntry<'a>
impl<'a> Send for RawDirEntry<'a>
impl<'a> Sync for RawDirEntry<'a>
impl<'a> Unpin for RawDirEntry<'a>
impl<'a> UnwindSafe for RawDirEntry<'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