pub enum InvalidContext {
InvalidIriRef(String),
Unexpected(Kind, &'static [Kind]),
InvalidDirection,
DuplicateKey,
InvalidTermDefinition,
InvalidNestValue(String),
}
Variants§
InvalidIriRef(String)
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 duplicate 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)>
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<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.
Auto Trait Implementations§
impl Freeze for InvalidContext
impl RefUnwindSafe for InvalidContext
impl Send for InvalidContext
impl Sync for InvalidContext
impl Unpin for InvalidContext
impl UnwindSafe for InvalidContext
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