Enum json_ld_syntax::context::InvalidContext
source · pub enum InvalidContext {
InvalidIriRef(Error),
Unexpected(Kind, &'static [Kind]),
InvalidDirection,
DuplicateKey,
InvalidTermDefinition,
InvalidNestValue(String),
}
Variants§
InvalidIriRef(Error)
Unexpected(Kind, &'static [Kind])
InvalidDirection
DuplicateKey
InvalidTermDefinition
InvalidNestValue(String)
Implementations§
Trait Implementations§
source§impl Clone for InvalidContext
impl Clone for InvalidContext
source§fn clone(&self) -> InvalidContext
fn clone(&self) -> InvalidContext
Returns a copy of the value. Read more
1.0.0 · 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 InvalidContext
impl Debug for InvalidContext
source§impl Display for InvalidContext
impl Display for InvalidContext
source§impl Error for InvalidContext
impl Error for InvalidContext
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<Unexpected> for InvalidContext
impl From<Unexpected> for InvalidContext
source§fn from(crate::Unexpected: Unexpected) -> Self
fn from(crate::Unexpected: Unexpected) -> Self
Converts to this type from the input type.