pub enum RncParseError {
Show 14 variants
InvalidCharcter,
InvalidToken,
InvalidPrefix,
InvalidURI,
UnacceptablePrefix,
UnacceptableNamespaceName,
DuplicateDeclaration,
UnqualifiedName,
MultipleRootElement,
UnclosedParentheses,
UnclosedBlock,
UnclosedAnnotation,
UnexpectedToken,
UnexpectedEOF,
}Expand description
RELAX NG Compact Syntax parse error.
Variants§
InvalidCharcter
InvalidToken
InvalidPrefix
InvalidURI
UnacceptablePrefix
UnacceptableNamespaceName
DuplicateDeclaration
UnqualifiedName
MultipleRootElement
UnclosedParentheses
UnclosedBlock
UnclosedAnnotation
UnexpectedToken
UnexpectedEOF
Trait Implementations§
Source§impl Clone for RncParseError
impl Clone for RncParseError
Source§impl Debug for RncParseError
impl Debug for RncParseError
Source§impl Display for RncParseError
impl Display for RncParseError
Source§impl Error for RncParseError
impl Error for RncParseError
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<RncParseError> for XMLError
impl From<RncParseError> for XMLError
Source§fn from(value: RncParseError) -> Self
fn from(value: RncParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RncParseError
impl RefUnwindSafe for RncParseError
impl Send for RncParseError
impl Sync for RncParseError
impl Unpin for RncParseError
impl UnsafeUnpin for RncParseError
impl UnwindSafe for RncParseError
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