Enum bson::EncoderError [] [src]

pub enum EncoderError {
    IoError(Error),
    InvalidMapKeyType(Bson),
    Unknown(String),
}

Possible errors that can arise during encoding.

Variants

Trait Implementations

impl Debug for EncoderError
[src]

Formats the value using the given formatter.

impl From<Error> for EncoderError
[src]

Performs the conversion.

impl From<Error> for EncoderError
[src]

Performs the conversion.

impl Display for EncoderError
[src]

Formats the value using the given formatter.

impl Error for EncoderError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Error for EncoderError
[src]

Raised when there is a general error when serializing a type.

Raised when a Serialize was passed an incorrect value.