pub enum JsonLdParseError {
Io(Error),
Syntax(JsonLdSyntaxError),
}
Expand description
Error returned during JSON-LD parsing.
Variants§
Io(Error)
I/O error during parsing (file not found…).
Syntax(JsonLdSyntaxError)
An error in the file syntax.
Trait Implementations§
Source§impl Debug for JsonLdParseError
impl Debug for JsonLdParseError
Source§impl Display for JsonLdParseError
impl Display for JsonLdParseError
Source§impl Error for JsonLdParseError
impl Error for JsonLdParseError
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 JsonLdParseError
impl From<Error> for JsonLdParseError
Source§impl From<JsonLdParseError> for Error
impl From<JsonLdParseError> for Error
Source§fn from(error: JsonLdParseError) -> Self
fn from(error: JsonLdParseError) -> Self
Converts to this type from the input type.
Source§impl From<JsonLdSyntaxError> for JsonLdParseError
impl From<JsonLdSyntaxError> for JsonLdParseError
Source§fn from(source: JsonLdSyntaxError) -> Self
fn from(source: JsonLdSyntaxError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonLdParseError
impl !RefUnwindSafe for JsonLdParseError
impl Send for JsonLdParseError
impl Sync for JsonLdParseError
impl Unpin for JsonLdParseError
impl !UnwindSafe for JsonLdParseError
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