pub struct WriteResult {
pub segment_paths: Vec<PathBuf>,
pub secondary_segment_paths: Vec<PathBuf>,
pub logical_size: u64,
pub chunk_size: u64,
pub chunk_count: u64,
pub computed_sha256: [u8; 32],
}Expand description
Result returned after finalizing writer output.
Fields§
§segment_paths: Vec<PathBuf>Output segment paths or labels.
secondary_segment_paths: Vec<PathBuf>Mirrored secondary output segment paths.
logical_size: u64Logical media size written in bytes.
chunk_size: u64Logical chunk size written in bytes.
chunk_count: u64Number of logical chunks written.
computed_sha256: [u8; 32]SHA256 of the written logical media, including sector padding. EWF1 complete output also embeds it unless a reference was supplied. EWF2 has no SHA256 section here; retain this value externally.
Trait Implementations§
Source§impl Clone for WriteResult
impl Clone for WriteResult
Source§impl Debug for WriteResult
impl Debug for WriteResult
impl Eq for WriteResult
Source§impl PartialEq for WriteResult
impl PartialEq for WriteResult
impl StructuralPartialEq for WriteResult
Auto Trait Implementations§
impl Freeze for WriteResult
impl RefUnwindSafe for WriteResult
impl Send for WriteResult
impl Sync for WriteResult
impl Unpin for WriteResult
impl UnsafeUnpin for WriteResult
impl UnwindSafe for WriteResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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