pub enum JsonDecodeStage {
Normalize,
Parse,
TopLevelCheck,
Deserialize,
}Expand description
Identifies the decoding stage where an error was produced.
Variants§
Normalize
The error happened while normalizing raw input text.
Parse
The error happened while parsing normalized text as JSON syntax.
TopLevelCheck
The error happened while enforcing a top-level kind contract.
Deserialize
The error happened while deserializing a parsed JSON value.
Trait Implementations§
Source§impl Clone for JsonDecodeStage
impl Clone for JsonDecodeStage
Source§fn clone(&self) -> JsonDecodeStage
fn clone(&self) -> JsonDecodeStage
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 JsonDecodeStage
impl Debug for JsonDecodeStage
Source§impl Display for JsonDecodeStage
impl Display for JsonDecodeStage
Source§impl Hash for JsonDecodeStage
impl Hash for JsonDecodeStage
Source§impl PartialEq for JsonDecodeStage
impl PartialEq for JsonDecodeStage
impl Copy for JsonDecodeStage
impl Eq for JsonDecodeStage
impl StructuralPartialEq for JsonDecodeStage
Auto Trait Implementations§
impl Freeze for JsonDecodeStage
impl RefUnwindSafe for JsonDecodeStage
impl Send for JsonDecodeStage
impl Sync for JsonDecodeStage
impl Unpin for JsonDecodeStage
impl UnsafeUnpin for JsonDecodeStage
impl UnwindSafe for JsonDecodeStage
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