Enum bson::EncoderError [] [src]

pub enum EncoderError {
    IoError(Error),
}

Possible errors that can arise during encoding.

Variants

IoError(Error)

Trait Implementations

impl Debug for EncoderError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for EncoderError
[src]

fn from(err: Error) -> EncoderError

Performs the conversion.

impl From<Error> for EncoderError
[src]

fn from(err: Error) -> EncoderError

Performs the conversion.

impl Display for EncoderError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for EncoderError
[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