pub struct FsDeletedNode {
pub ino: u64,
pub name: Vec<u8>,
pub parent_ino: Option<u64>,
pub size: u64,
pub file_type: FsFileType,
pub allocation: FsAllocation,
pub record_id: u64,
pub atime: FsTimestamp,
pub mtime: FsTimestamp,
pub ctime: FsTimestamp,
pub crtime: FsTimestamp,
}Expand description
A recovered deleted (or orphaned) node carrying the identity a consumer
needs to render and read it: a readable inode, the recovered name, the
parent inode (or None for an orphan), the metadata record id, and MACB
times. Unlike FsDeletedInode (bare inode + size), this is the rich
surface backing in-place vs $Orphans placement — the name is never
fabricated (empty when the filesystem destroyed it on delete).
Fields§
§ino: u64Readable inode — usable with read_file / read_file_range.
name: Vec<u8>Recovered name; may be empty/partial, never fabricated.
parent_ino: Option<u64>Parent directory inode, or None for an orphan.
size: u64§file_type: FsFileType§allocation: FsAllocation§record_id: u64Metadata address (MFT entry / inode number) — the stable disambiguator.
atime: FsTimestamp§mtime: FsTimestamp§ctime: FsTimestamp§crtime: FsTimestampTrait Implementations§
Source§impl Clone for FsDeletedNode
impl Clone for FsDeletedNode
Source§fn clone(&self) -> FsDeletedNode
fn clone(&self) -> FsDeletedNode
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 moreAuto Trait Implementations§
impl Freeze for FsDeletedNode
impl RefUnwindSafe for FsDeletedNode
impl Send for FsDeletedNode
impl Sync for FsDeletedNode
impl Unpin for FsDeletedNode
impl UnsafeUnpin for FsDeletedNode
impl UnwindSafe for FsDeletedNode
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more