Skip to main content

ImageInfo

Struct ImageInfo 

Source
pub struct ImageInfo {
Show 22 fields pub format: Format, pub format_profile: FormatProfile, pub segment_count: usize, pub segment_paths: Vec<PathBuf>, pub chunk_size: u64, pub logical_size: u64, pub acquisition_complete: bool, pub header_codepage: HeaderCodepage, pub header_values_date_format: HeaderDateFormat, pub media: MediaInfo, pub metadata: EwfMetadata, pub stored_hashes: StoredHashes, pub acquisition_errors: Vec<AcquisitionError>, pub memory_extents: Vec<MemoryExtent>, pub single_files: Option<SingleFilesInfo>, pub ewf2_single_files_tables: SingleFilesAuxTables, pub ewf2_increment_data: Vec<Vec<u8>>, pub ewf2_final_information: Option<Vec<u8>>, pub ewf2_restart_data: Option<String>, pub ewf2_analytical_data: Option<String>, pub sessions: Vec<SectorRange>, pub tracks: Vec<SectorRange>,
}
Expand description

Parsed summary of an opened EWF image.

Fields§

§format: Format

Top-level EWF format generation.

§format_profile: FormatProfile

Inferred producer/profile.

§segment_count: usize

Number of opened segment files.

§segment_paths: Vec<PathBuf>

Segment paths or supplied-reader labels.

§chunk_size: u64

Logical chunk size in bytes.

§logical_size: u64

Logical media size in bytes.

§acquisition_complete: bool

Whether the image has a terminal complete marker.

§header_codepage: HeaderCodepage

Header codepage used for decoded EWF1 values.

§header_values_date_format: HeaderDateFormat

Date format used when returning header date values.

§media: MediaInfo

Media geometry and flags.

§metadata: EwfMetadata

Parsed case and acquisition metadata.

§stored_hashes: StoredHashes

Stored hash values.

§acquisition_errors: Vec<AcquisitionError>

Acquisition error ranges.

§memory_extents: Vec<MemoryExtent>

Memory acquisition extents.

§single_files: Option<SingleFilesInfo>

Logical single-file catalog, if present.

§ewf2_single_files_tables: SingleFilesAuxTables

Preserved EWF2 single-file auxiliary table data.

§ewf2_increment_data: Vec<Vec<u8>>

Raw EWF2 increment data sections.

§ewf2_final_information: Option<Vec<u8>>

Raw EWF2 final information section.

§ewf2_restart_data: Option<String>

EWF2 restart data text.

§ewf2_analytical_data: Option<String>

EWF2 analytical data text.

§sessions: Vec<SectorRange>

Session sector ranges.

§tracks: Vec<SectorRange>

Track sector ranges.

Trait Implementations§

Source§

impl Clone for ImageInfo

Source§

fn clone(&self) -> ImageInfo

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ImageInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for ImageInfo

Source§

impl PartialEq for ImageInfo

Source§

fn eq(&self, other: &ImageInfo) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for ImageInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.