Enum jiter::JiterErrorType
source · pub enum JiterErrorType {
JsonError(JsonErrorType),
WrongType {
expected: JsonType,
actual: JsonType,
},
}
Expand description
Enum representing either a JsonErrorType or a WrongType error.
Variants§
Trait Implementations§
source§impl Clone for JiterErrorType
impl Clone for JiterErrorType
source§fn clone(&self) -> JiterErrorType
fn clone(&self) -> JiterErrorType
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 JiterErrorType
impl Debug for JiterErrorType
source§impl Display for JiterErrorType
impl Display for JiterErrorType
source§impl PartialEq for JiterErrorType
impl PartialEq for JiterErrorType
source§fn eq(&self, other: &JiterErrorType) -> bool
fn eq(&self, other: &JiterErrorType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for JiterErrorType
impl StructuralPartialEq for JiterErrorType
Auto Trait Implementations§
impl Freeze for JiterErrorType
impl RefUnwindSafe for JiterErrorType
impl Send for JiterErrorType
impl Sync for JiterErrorType
impl Unpin for JiterErrorType
impl UnwindSafe for JiterErrorType
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