pub enum ParseErrorKind {
Show 14 variants
InputTooLarge,
InvalidUtf8,
MalformedXml,
DoctypeForbidden,
NodeLimitExceeded,
DepthLimitExceeded,
AttributeLimitExceeded,
UnexpectedRoot,
MissingFormatVersion,
UnsupportedFormatVersion,
MissingUuid,
InvalidUuid,
MissingName,
InvalidInformationModule,
}Expand description
Stable category for an ILCD+EPD parse failure.
Variants§
InputTooLarge
Input exceeds the configured byte budget.
InvalidUtf8
Input is not UTF-8 XML.
MalformedXml
XML is not well formed.
DoctypeForbidden
A document type declaration is forbidden.
NodeLimitExceeded
XML exceeds the configured node budget.
DepthLimitExceeded
XML exceeds the configured element-depth budget.
AttributeLimitExceeded
One element exceeds the configured attribute budget.
UnexpectedRoot
The root is not an ILCD process dataset.
MissingFormatVersion
The namespaced ILCD+EPD version marker is absent.
UnsupportedFormatVersion
The adapter does not support the declared ILCD+EPD version.
MissingUuid
The process dataset has no ILCD UUID.
InvalidUuid
The process dataset UUID is not in canonical UUID form.
MissingName
The process dataset has no non-empty base name.
InvalidInformationModule
An EPD module attribute is not an ISO 22057 module code.
Trait Implementations§
Source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
Source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
1.0.0 · 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 ParseErrorKind
impl Debug for ParseErrorKind
Source§impl PartialEq for ParseErrorKind
impl PartialEq for ParseErrorKind
impl Copy for ParseErrorKind
impl Eq for ParseErrorKind
impl StructuralPartialEq for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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