pub enum FaultKind {
Structure,
Missing,
Version,
Target,
Duplicate,
Forbidden,
Undeclared,
Media,
Unassessed,
}Expand description
Every readable negative or explicitly unassessed original instruction.
Variants§
Structure
Wrong original root, child or non-whitespace character content.
Missing
Required original attribute or rootfiles/entry is absent.
Version
Selected schema’s version is absent or has a different value.
Target
An entry selects no original member or several exact-name occurrences.
Duplicate
The same original member or package root is declared repeatedly.
Forbidden
ODF forbids declaring mimetype or the manifest itself.
Undeclared
An original non-META-INF file has no unique ODF declaration.
Media
An original media-type value is not complete MIME syntax.
Unassessed
Encryption or extension content is retained but not assessed here.
Trait Implementations§
impl Copy for FaultKind
impl Eq for FaultKind
impl StructuralPartialEq for FaultKind
Auto Trait Implementations§
impl Freeze for FaultKind
impl RefUnwindSafe for FaultKind
impl Send for FaultKind
impl Sync for FaultKind
impl Unpin for FaultKind
impl UnsafeUnpin for FaultKind
impl UnwindSafe for FaultKind
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