pub enum JsonPointeeError {
Key(JsonPointerKeyError),
Index(usize, Range<usize>),
Ty(JsonPointerTypeError),
}Expand description
An error that occurs during traversal.
Variants§
Trait Implementations§
Source§impl Debug for JsonPointeeError
impl Debug for JsonPointeeError
Source§impl Display for JsonPointeeError
impl Display for JsonPointeeError
Source§impl Error for JsonPointeeError
impl Error for JsonPointeeError
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<JsonPointeeError> for JsonPointerError
impl From<JsonPointeeError> for JsonPointerError
Source§fn from(source: JsonPointeeError) -> Self
fn from(source: JsonPointeeError) -> Self
Converts to this type from the input type.
Source§impl From<JsonPointerKeyError> for JsonPointeeError
impl From<JsonPointerKeyError> for JsonPointeeError
Source§fn from(source: JsonPointerKeyError) -> Self
fn from(source: JsonPointerKeyError) -> Self
Converts to this type from the input type.
Source§impl From<JsonPointerTypeError> for JsonPointeeError
impl From<JsonPointerTypeError> for JsonPointeeError
Source§fn from(source: JsonPointerTypeError) -> Self
fn from(source: JsonPointerTypeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonPointeeError
impl RefUnwindSafe for JsonPointeeError
impl Send for JsonPointeeError
impl Sync for JsonPointeeError
impl Unpin for JsonPointeeError
impl UnsafeUnpin for JsonPointeeError
impl UnwindSafe for JsonPointeeError
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