#[repr(C)]pub struct FuseDirEnt {
pub ino: INum,
pub off: u64,
pub namelen: u32,
pub typ: u32,
}Expand description
FUSE directory entry fuse_dirent
Fields§
§ino: INumThe i-number of the entry
off: u64Entry offset in the directory
namelen: u32Entry name length
typ: u32Entry type
Implementations§
Source§impl FuseDirEnt
impl FuseDirEnt
Sourcepub fn size_with_name(&self) -> usize
pub fn size_with_name(&self) -> usize
Get the exctual size of FuseDirEnt,
equals to the size of entry header and the length of following name.
The behaviour of this method is similar to marco FUSE_DIRENT_SIZE(d)
in fuse.h.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FuseDirEnt
impl RefUnwindSafe for FuseDirEnt
impl Send for FuseDirEnt
impl Sync for FuseDirEnt
impl Unpin for FuseDirEnt
impl UnwindSafe for FuseDirEnt
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