pub struct InodeEntry {
pub inode: u64,
pub parent: u64,
pub name: String,
pub kind: InodeKind,
pub size: u64,
pub mtime: SystemTime,
pub atime: SystemTime,
pub generation: u64,
}Expand description
Metadata cached for a single inode.
Fields§
§inode: u64§parent: u64§name: String§kind: InodeKind§size: u64§mtime: SystemTime§atime: SystemTime§generation: u64Link generation the handle in kind was resolved against. MTP handles
are session-scoped, so a handle from an older generation is a stale
token that has to be re-resolved by path before it’s used again.
Implementations§
Trait Implementations§
Source§impl Clone for InodeEntry
impl Clone for InodeEntry
Auto Trait Implementations§
impl Freeze for InodeEntry
impl RefUnwindSafe for InodeEntry
impl Send for InodeEntry
impl Sync for InodeEntry
impl Unpin for InodeEntry
impl UnsafeUnpin for InodeEntry
impl UnwindSafe for InodeEntry
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