pub enum ErrorKind {
Syntax,
Unsupported,
UndeclaredPrefix,
UnknownType,
TooDeep,
}Expand description
What went wrong.
Variants§
Syntax
The text is not valid XPath 2.0 (or not a valid pattern, sequence type or attribute
value template): err:XPST0003, or err:XTSE0350/err:XTSE0370 for templates.
Unsupported
The text is valid but uses a construct outside the supported subset.
UndeclaredPrefix
A prefix is not bound to a namespace (err:XPST0081).
UnknownType
A type name that is not an atomic type (err:XPST0051).
TooDeep
The expression (or pattern) is nested deeper than MAX_DEPTH:
it is refused rather than read, compiled and evaluated with a call stack in
proportion to its depth.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Forget for ErrorKind
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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