pub enum XPointerParseError {
Show 14 variants
InvalidNCName,
InvalidSchemeName,
InvalidEscapedCharacter,
InvalidCharacter,
ParenthesNotFoundAfterSchemeName,
UnmatchParentheses,
EmptyPointerParts,
SpaceFoundAfterAllPointerPart,
ElementEmptySchemeData,
ElementInvalidChildSequence,
ElementEmptySequenceNumber,
ElementNegativeSequenceNumber,
ElementTooLargeSequenceNumber,
XMLNSEqualMarkNotFound,
}Expand description
XPointer parse error.
Variants§
InvalidNCName
InvalidSchemeName
InvalidEscapedCharacter
InvalidCharacter
ParenthesNotFoundAfterSchemeName
UnmatchParentheses
EmptyPointerParts
SpaceFoundAfterAllPointerPart
ElementEmptySchemeData
ElementInvalidChildSequence
ElementEmptySequenceNumber
ElementNegativeSequenceNumber
ElementTooLargeSequenceNumber
XMLNSEqualMarkNotFound
Trait Implementations§
Source§impl Clone for XPointerParseError
impl Clone for XPointerParseError
impl Copy for XPointerParseError
Source§impl Debug for XPointerParseError
impl Debug for XPointerParseError
Source§impl Display for XPointerParseError
impl Display for XPointerParseError
impl Eq for XPointerParseError
Source§impl Error for XPointerParseError
impl Error for XPointerParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<XPointerParseError> for XMLError
impl From<XPointerParseError> for XMLError
Source§fn from(value: XPointerParseError) -> Self
fn from(value: XPointerParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for XPointerParseError
impl PartialEq for XPointerParseError
impl StructuralPartialEq for XPointerParseError
Auto Trait Implementations§
impl Freeze for XPointerParseError
impl RefUnwindSafe for XPointerParseError
impl Send for XPointerParseError
impl Sync for XPointerParseError
impl Unpin for XPointerParseError
impl UnsafeUnpin for XPointerParseError
impl UnwindSafe for XPointerParseError
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