pub enum EwfIntegrityAnomaly {
Show 17 variants
InvalidSignature,
SegmentNumberZero,
SectionDescriptorCrcMismatch {
offset: u64,
section_type: String,
computed: u32,
stored: u32,
},
SectionChainBroken {
at_offset: u64,
next_offset: u64,
},
SectionGapNonZero {
gap_offset: u64,
gap_size: u64,
},
VolumeSectionMissing,
UnknownSectionType {
offset: u64,
type_name: String,
},
DoneSectionMissing,
ChunkSizeInvalid {
sectors_per_chunk: u32,
bytes_per_sector: u32,
},
SectorCountMismatch {
declared: u64,
expected: u64,
},
BytesPerSectorInvalid {
bytes_per_sector: u32,
},
TableChunkCountMismatch {
in_volume: u32,
in_table: u32,
},
TableEntryOutOfBounds {
chunk_index: u32,
entry_offset: u64,
file_size: u64,
},
TableEntryOutsideSectorsRange {
chunk_index: u32,
entry_offset: u64,
sectors_start: u64,
sectors_end: u64,
},
SectionGapZero {
gap_offset: u64,
gap_size: u64,
},
HashMismatch {
computed: [u8; 16],
stored: [u8; 16],
},
HashSectionMissing,
}Variants§
InvalidSignature
SegmentNumberZero
SectionDescriptorCrcMismatch
SectionChainBroken
SectionGapNonZero
VolumeSectionMissing
UnknownSectionType
DoneSectionMissing
ChunkSizeInvalid
SectorCountMismatch
BytesPerSectorInvalid
TableChunkCountMismatch
TableEntryOutOfBounds
TableEntryOutsideSectorsRange
SectionGapZero
HashMismatch
HashSectionMissing
Implementations§
Trait Implementations§
Source§impl Clone for EwfIntegrityAnomaly
impl Clone for EwfIntegrityAnomaly
Source§fn clone(&self) -> EwfIntegrityAnomaly
fn clone(&self) -> EwfIntegrityAnomaly
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 EwfIntegrityAnomaly
impl RefUnwindSafe for EwfIntegrityAnomaly
impl Send for EwfIntegrityAnomaly
impl Sync for EwfIntegrityAnomaly
impl Unpin for EwfIntegrityAnomaly
impl UnsafeUnpin for EwfIntegrityAnomaly
impl UnwindSafe for EwfIntegrityAnomaly
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