Enum bson::EncoderError [] [src]

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

Possible errors that can arise during encoding.

Variants

Trait Implementations

impl Debug for EncoderError
[src]

[src]

Formats the value using the given formatter.

impl From<Error> for EncoderError
[src]

[src]

Performs the conversion.

impl Display for EncoderError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for EncoderError
[src]

[src]

A short description of the error. Read more

[src]

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

impl Error for EncoderError
[src]

[src]

Used when a [Serialize] implementation encounters any error while serializing a type. Read more