pub struct TurtleSyntaxError { /* private fields */ }
Expand description
An error in the syntax of the parsed file.
It is composed of a message and a byte range in the input.
Implementations§
Trait Implementations§
Source§impl Debug for TurtleSyntaxError
impl Debug for TurtleSyntaxError
Source§impl Display for TurtleSyntaxError
impl Display for TurtleSyntaxError
Source§impl Error for TurtleSyntaxError
impl Error for TurtleSyntaxError
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<TurtleSyntaxError> for Error
impl From<TurtleSyntaxError> for Error
Source§fn from(error: TurtleSyntaxError) -> Self
fn from(error: TurtleSyntaxError) -> Self
Converts to this type from the input type.
Source§impl From<TurtleSyntaxError> for TurtleParseError
impl From<TurtleSyntaxError> for TurtleParseError
Source§fn from(source: TurtleSyntaxError) -> Self
fn from(source: TurtleSyntaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TurtleSyntaxError
impl RefUnwindSafe for TurtleSyntaxError
impl Send for TurtleSyntaxError
impl Sync for TurtleSyntaxError
impl Unpin for TurtleSyntaxError
impl UnwindSafe for TurtleSyntaxError
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