pub enum PatchError {
OutOfBounds(usize),
UnexpectedType(String),
TargetDoesNotExist(String),
JsonPatchError(PatchError),
ResolveError(ResolveError),
AssignError(AssignError),
ParseIndexError(ParseIndexError),
}
Variants§
OutOfBounds(usize)
UnexpectedType(String)
TargetDoesNotExist(String)
JsonPatchError(PatchError)
ResolveError(ResolveError)
AssignError(AssignError)
ParseIndexError(ParseIndexError)
Trait Implementations§
Source§impl Debug for PatchError
impl Debug for PatchError
Source§impl Display for PatchError
impl Display for PatchError
Source§impl Error for PatchError
impl Error for PatchError
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<AssignError> for PatchError
impl From<AssignError> for PatchError
Source§fn from(source: AssignError) -> Self
fn from(source: AssignError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIndexError> for PatchError
impl From<ParseIndexError> for PatchError
Source§fn from(source: ParseIndexError) -> Self
fn from(source: ParseIndexError) -> Self
Converts to this type from the input type.
Source§impl From<PatchError> for PatchError
impl From<PatchError> for PatchError
Source§fn from(source: PatchError) -> Self
fn from(source: PatchError) -> Self
Converts to this type from the input type.
Source§impl From<ResolveError> for PatchError
impl From<ResolveError> for PatchError
Source§fn from(source: ResolveError) -> Self
fn from(source: ResolveError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PatchError
impl RefUnwindSafe for PatchError
impl Send for PatchError
impl Sync for PatchError
impl Unpin for PatchError
impl UnwindSafe for PatchError
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