pub struct OrphanDetail {
pub sid: u32,
pub name: String,
pub object_type: u8,
pub stream_size: u64,
pub start_sector: u32,
pub create_time: u64,
pub modify_time: u64,
pub carved_len: usize,
}Expand description
Recovered detail for an orphaned (live-tree-unreachable) directory entry.
Fields§
§sid: u32The entry’s stream id (index in the directory array).
name: StringThe recovered name (lossy UTF-16LE).
object_type: u80x01 storage / 0x02 stream.
stream_size: u64Declared stream size in bytes.
start_sector: u32Starting sector id of the (still-resident) stream chain.
create_time: u64Creation FILETIME (raw u64, 0 if absent).
modify_time: u64Modification FILETIME (raw u64, 0 if absent).
carved_len: usizeNumber of stream bytes carved from the resident FAT chain (0 if none
could be recovered).
Trait Implementations§
Source§impl Clone for OrphanDetail
impl Clone for OrphanDetail
Source§fn clone(&self) -> OrphanDetail
fn clone(&self) -> OrphanDetail
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 OrphanDetail
impl Debug for OrphanDetail
impl Eq for OrphanDetail
Source§impl PartialEq for OrphanDetail
impl PartialEq for OrphanDetail
Source§fn eq(&self, other: &OrphanDetail) -> bool
fn eq(&self, other: &OrphanDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OrphanDetail
Auto Trait Implementations§
impl Freeze for OrphanDetail
impl RefUnwindSafe for OrphanDetail
impl Send for OrphanDetail
impl Sync for OrphanDetail
impl Unpin for OrphanDetail
impl UnsafeUnpin for OrphanDetail
impl UnwindSafe for OrphanDetail
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