pub enum JsonReadError {
InvalidJson,
Memory(MemoryError),
Cancelled(QueryCancelled),
}Variants§
Trait Implementations§
Source§impl Debug for JsonReadError
impl Debug for JsonReadError
Source§impl Display for JsonReadError
impl Display for JsonReadError
Source§impl Error for JsonReadError
impl Error for JsonReadError
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<JsonReadError> for JsonbKeyError
impl From<JsonReadError> for JsonbKeyError
Source§fn from(error: JsonReadError) -> Self
fn from(error: JsonReadError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryError> for JsonReadError
impl From<MemoryError> for JsonReadError
Source§fn from(source: MemoryError) -> Self
fn from(source: MemoryError) -> Self
Converts to this type from the input type.
Source§impl From<QueryCancelled> for JsonReadError
impl From<QueryCancelled> for JsonReadError
Source§fn from(source: QueryCancelled) -> Self
fn from(source: QueryCancelled) -> Self
Converts to this type from the input type.
Source§impl From<ValueRetentionError> for JsonReadError
impl From<ValueRetentionError> for JsonReadError
Source§fn from(error: ValueRetentionError) -> Self
fn from(error: ValueRetentionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonReadError
impl RefUnwindSafe for JsonReadError
impl Send for JsonReadError
impl Sync for JsonReadError
impl Unpin for JsonReadError
impl UnsafeUnpin for JsonReadError
impl UnwindSafe for JsonReadError
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