pub struct IdXPathLexError {
pub message: String,
pub position: usize,
}Expand description
Error produced during identity-constraint XPath lexing.
Fields§
§message: StringHuman-readable error message.
position: usizeByte offset where the error occurred.
Trait Implementations§
Source§impl Clone for IdXPathLexError
impl Clone for IdXPathLexError
Source§fn clone(&self) -> IdXPathLexError
fn clone(&self) -> IdXPathLexError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IdXPathLexError
impl Debug for IdXPathLexError
Source§impl Display for IdXPathLexError
impl Display for IdXPathLexError
Source§impl Error for IdXPathLexError
impl Error for IdXPathLexError
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<IdXPathLexError> for IdentityXPathError
impl From<IdXPathLexError> for IdentityXPathError
Source§fn from(e: IdXPathLexError) -> Self
fn from(e: IdXPathLexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdXPathLexError
impl RefUnwindSafe for IdXPathLexError
impl Send for IdXPathLexError
impl Sync for IdXPathLexError
impl Unpin for IdXPathLexError
impl UnsafeUnpin for IdXPathLexError
impl UnwindSafe for IdXPathLexError
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