Enum bson::EncoderError[][src]

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

Possible errors that can arise during encoding.

Variants

Trait Implementations

impl Debug for EncoderError
[src]

Formats the value using the given formatter. Read more

impl From<Error> for EncoderError
[src]

Performs the conversion.

impl Display for EncoderError
[src]

Formats the value using the given formatter. Read more

impl Error for EncoderError
[src]

This method is soft-deprecated. Read more

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

impl Error for EncoderError
[src]

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

Auto Trait Implementations