pub struct TurtleError { /* private fields */ }
Expand description
Error that might be returned during parsing.
It might wrap an IO error or be a parsing error.
Trait Implementations§
Source§impl Debug for TurtleError
impl Debug for TurtleError
Source§impl Display for TurtleError
impl Display for TurtleError
Source§impl Error for TurtleError
impl Error for TurtleError
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<Error> for TurtleError
impl From<Error> for TurtleError
Source§impl From<TurtleError> for Error
impl From<TurtleError> for Error
Source§fn from(error: TurtleError) -> Self
fn from(error: TurtleError) -> Self
Converts to this type from the input type.
Source§impl ParseError for TurtleError
impl ParseError for TurtleError
Source§fn textual_position(&self) -> Option<LineBytePosition>
fn textual_position(&self) -> Option<LineBytePosition>
Returns the position of the error in the text, if known.
Auto Trait Implementations§
impl Freeze for TurtleError
impl !RefUnwindSafe for TurtleError
impl Send for TurtleError
impl Sync for TurtleError
impl Unpin for TurtleError
impl !UnwindSafe for TurtleError
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