pub enum StructureIssue {
StreamNonZeroClsid {
sid: u32,
name: String,
},
StreamNonZeroStateBits {
sid: u32,
name: String,
state_bits: u32,
},
StreamNonZeroFiletime {
sid: u32,
name: String,
},
ChainLoop {
space: &'static str,
},
DifatOffFile {
sid: u32,
},
BadByteOrder {
value: u16,
},
}Expand description
Which structural rule a OlecfAnomaly::StructureAnomaly flags.
Variants§
StreamNonZeroClsid
A stream entry carries a non-zero CLSID ([MS-CFB] §2.6.3 requires zero).
StreamNonZeroStateBits
A stream entry carries non-zero state bits ([MS-CFB] §2.6.3 requires zero).
StreamNonZeroFiletime
A stream entry carries a non-zero create/modify FILETIME
([MS-CFB] §2.6.3 requires zero).
ChainLoop
The directory or a FAT/mini-FAT chain looped back on itself.
DifatOffFile
A DIFAT slot referenced a FAT sector beyond the end of the file.
BadByteOrder
The byte-order mark was not the required little-endian 0xFFFE.
Trait Implementations§
Source§impl Clone for StructureIssue
impl Clone for StructureIssue
Source§fn clone(&self) -> StructureIssue
fn clone(&self) -> StructureIssue
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 StructureIssue
impl Debug for StructureIssue
impl Eq for StructureIssue
Source§impl PartialEq for StructureIssue
impl PartialEq for StructureIssue
Source§fn eq(&self, other: &StructureIssue) -> bool
fn eq(&self, other: &StructureIssue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StructureIssue
Auto Trait Implementations§
impl Freeze for StructureIssue
impl RefUnwindSafe for StructureIssue
impl Send for StructureIssue
impl Sync for StructureIssue
impl Unpin for StructureIssue
impl UnsafeUnpin for StructureIssue
impl UnwindSafe for StructureIssue
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