pub enum LoadErrorKind {
MissingFile,
Malformed,
Unsupported,
Invalid,
}Expand description
The kinds of LoadError.
Variants§
MissingFile
A schema document is missing from the schema set.
Malformed
A schema document is not well-formed XML.
Unsupported
A construct that is valid XML Schema 1.0 but outside the subset this crate implements: refused rather than ignored or approximated.
Invalid
The schemas are not a correct XML Schema 1.0 schema set (unresolved reference, duplicate definition, circular derivation, non-deterministic content model, …).
Trait Implementations§
Source§impl Clone for LoadErrorKind
impl Clone for LoadErrorKind
impl Copy for LoadErrorKind
Source§impl Debug for LoadErrorKind
impl Debug for LoadErrorKind
impl Eq for LoadErrorKind
Source§impl Hash for LoadErrorKind
impl Hash for LoadErrorKind
Source§impl PartialEq for LoadErrorKind
impl PartialEq for LoadErrorKind
impl StructuralPartialEq for LoadErrorKind
Auto Trait Implementations§
impl Forget for LoadErrorKind
impl Freeze for LoadErrorKind
impl RefUnwindSafe for LoadErrorKind
impl Send for LoadErrorKind
impl Sync for LoadErrorKind
impl Unpin for LoadErrorKind
impl UnsafeUnpin for LoadErrorKind
impl UnwindSafe for LoadErrorKind
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