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
sourceimpl InvalidContext
impl InvalidContext
Trait Implementations
sourceimpl Clone for InvalidContext
impl Clone for InvalidContext
sourcefn clone(&self) -> InvalidContext
fn clone(&self) -> InvalidContext
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InvalidContext
impl Debug for InvalidContext
sourceimpl Display for InvalidContext
impl Display for InvalidContext
sourceimpl From<Unexpected> for InvalidContext
impl From<Unexpected> for InvalidContext
sourcefn from(crate::Unexpected: Unexpected) -> Self
fn from(crate::Unexpected: Unexpected) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for InvalidContext
impl Send for InvalidContext
impl Sync for InvalidContext
impl Unpin for InvalidContext
impl UnwindSafe for InvalidContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more