pub struct DeletedInode {
pub agno: u64,
pub inode_number: u64,
pub residual_extents: Vec<BmbtRec>,
pub ctime: XfsTimestamp,
pub recovered_size_estimate: u64,
pub carved: Vec<u8>,
}Expand description
A recovered deleted inode: a freed (di_mode == 0) inode whose residual
extent records survived the delete, so its content is carvable.
Fields§
§agno: u64The allocation group the inode lives in.
inode_number: u64The absolute inode number.
residual_extents: Vec<BmbtRec>The residual xfs_bmbt_rec extent records recovered from the freed
inode’s data fork (offset 176 v3 / 100 v2), which the delete did not zero.
ctime: XfsTimestampdi_ctime — the deletion time (updated on unlink).
recovered_size_estimate: u64Estimated recoverable size (bytes) — the residual extents’ block span.
carved: Vec<u8>The carved bytes, when the residual extents point within the image.
Trait Implementations§
Source§impl Clone for DeletedInode
impl Clone for DeletedInode
Source§fn clone(&self) -> DeletedInode
fn clone(&self) -> DeletedInode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeletedInode
impl Debug for DeletedInode
impl Eq for DeletedInode
Source§impl PartialEq for DeletedInode
impl PartialEq for DeletedInode
impl StructuralPartialEq for DeletedInode
Auto Trait Implementations§
impl Freeze for DeletedInode
impl RefUnwindSafe for DeletedInode
impl Send for DeletedInode
impl Sync for DeletedInode
impl Unpin for DeletedInode
impl UnsafeUnpin for DeletedInode
impl UnwindSafe for DeletedInode
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