pub struct Entry {
pub node: NodeId,
pub name: OsString,
pub kind: NodeKind,
pub size: u64,
pub unix_mode: u32,
}Expand description
A single directory entry, returned from PlatformShell::lookup
and PlatformShell::enumerate.
Fields§
§node: NodeId§name: OsString§kind: NodeKind§size: u64§unix_mode: u32Unix mode bits, including type. Cached so the platform shell
can answer attrs without a second walk.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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