pub struct ErofsTreeEntry {
pub path: PathBuf,
pub nid: u32,
pub kind: ErofsEntryKind,
pub metadata: InodeMetadata,
pub xattrs: Vec<Xattr>,
pub size: u64,
pub rdev: Option<(u32, u32)>,
}Expand description
A filesystem entry discovered while walking an EROFS image.
Fields§
§path: PathBufPath relative to the image root.
nid: u32Stable EROFS inode identifier.
kind: ErofsEntryKindEntry kind.
metadata: InodeMetadataPOSIX inode metadata.
xattrs: Vec<Xattr>Inline xattrs stored on the inode.
size: u64File or symlink data size.
rdev: Option<(u32, u32)>Device major/minor for device nodes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErofsTreeEntry
impl RefUnwindSafe for ErofsTreeEntry
impl Send for ErofsTreeEntry
impl Sync for ErofsTreeEntry
impl Unpin for ErofsTreeEntry
impl UnsafeUnpin for ErofsTreeEntry
impl UnwindSafe for ErofsTreeEntry
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