Enum json::encoder::EncodeError
[−]
[src]
pub enum EncodeError {
Io(Error),
InvalidFloat,
Message(&'static str),
Other(Box<Error + Send + Sync>),
}Variants
Io(Error)InvalidFloatA float value such as NAN or INFINITY was used.
Message(&'static str)Generic error message.
Other(Box<Error + Send + Sync>)Some other error trait impl.
Trait Implementations
impl Debug for EncodeError[src]
impl Display for EncodeError[src]
impl Error for EncodeError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<Error> for EncodeError[src]
fn from(e: Error) -> EncodeError
Performs the conversion.