InodeOps

Trait InodeOps 

Source
pub trait InodeOps {
    // Required methods
    fn xattrs(&self) -> Option<&InodeXAttrs>;
    fn inline(&self) -> Option<&[u8]>;
    fn blocks(&self, blkszbits: u8) -> Range<u64>;
}
Expand description

Operations on inode data

Required Methods§

Source

fn xattrs(&self) -> Option<&InodeXAttrs>

Returns the extended attributes section if present

Source

fn inline(&self) -> Option<&[u8]>

Returns the inline data portion

Source

fn blocks(&self, blkszbits: u8) -> Range<u64>

Returns the range of block IDs used by this inode

Implementors§

Source§

impl InodeOps for InodeType<'_>

Source§

impl<Header: InodeHeader> InodeOps for &Inode<Header>