pub enum JsonResult {
Valid(Value),
Incomplete,
Malformed,
}Expand description
Result of attempting to parse a (potentially partial) JSON string.
Variants§
Valid(Value)
Fully valid JSON value.
Incomplete
The input is a valid prefix but truncated (EOF while parsing).
Malformed
The input is not valid JSON.
Auto Trait Implementations§
impl Freeze for JsonResult
impl RefUnwindSafe for JsonResult
impl Send for JsonResult
impl Sync for JsonResult
impl Unpin for JsonResult
impl UnsafeUnpin for JsonResult
impl UnwindSafe for JsonResult
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