#[repr(C)]pub struct Dentry {
pub ino: u64,
pub name: [u8; 256],
}Expand description
Represents a directory entry as visible to user-space programs.
This struct contains the basic information about a directory entry that user programs can observe, including the inode number and name of the record.
Fields§
§ino: u64The inode number corresponding to the file or directory.
name: [u8; 256]The name of entry in null-terminated string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dentry
impl RefUnwindSafe for Dentry
impl Send for Dentry
impl Sync for Dentry
impl Unpin for Dentry
impl UnwindSafe for Dentry
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)