Enum rustc_serialize::json::EncoderError
source · pub enum EncoderError {
FmtError(Error),
BadHashmapKey,
}
Variants§
Trait Implementations§
source§impl Clone for EncoderError
impl Clone for EncoderError
source§impl Debug for EncoderError
impl Debug for EncoderError
source§impl Display for EncoderError
impl Display for EncoderError
source§impl Error for EncoderError
impl Error for EncoderError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<Error> for EncoderError
impl From<Error> for EncoderError
source§fn from(err: Error) -> EncoderError
fn from(err: Error) -> EncoderError
Converts to this type from the input type.
source§impl PartialEq for EncoderError
impl PartialEq for EncoderError
source§fn eq(&self, other: &EncoderError) -> bool
fn eq(&self, other: &EncoderError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EncoderError
Auto Trait Implementations§
impl RefUnwindSafe for EncoderError
impl Send for EncoderError
impl Sync for EncoderError
impl Unpin for EncoderError
impl UnwindSafe for EncoderError
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