pub struct JsonGenerateError { /* private fields */ }
Expand description
Serialization error. This error only happens when some write error happens on writing the serialized byte sequence
to the given io::Write
object.
Implementations§
Trait Implementations§
Source§impl Debug for JsonGenerateError
impl Debug for JsonGenerateError
Source§impl Display for JsonGenerateError
impl Display for JsonGenerateError
Source§impl Error for JsonGenerateError
impl Error for JsonGenerateError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for JsonGenerateError
impl RefUnwindSafe for JsonGenerateError
impl Send for JsonGenerateError
impl Sync for JsonGenerateError
impl Unpin for JsonGenerateError
impl UnwindSafe for JsonGenerateError
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