Enum bson::DecoderError
[−]
[src]
pub enum DecoderError { IoError(Error), Utf8Error(Utf8Error), UnrecognizedElementType(u8), InvalidArrayKey(usize, String), }
Possible errors that can arise during decoding.
Variants
IoError(Error)
Utf8Error(Utf8Error)
UnrecognizedElementType(u8)
InvalidArrayKey(usize, String)
Trait Implementations
impl Debug for DecoderError
[src]
impl From<Error> for DecoderError
[src]
fn from(err: Error) -> DecoderError
Performs the conversion.
impl From<Utf8Error> for DecoderError
[src]
fn from(err: Utf8Error) -> DecoderError
Performs the conversion.
impl From<Error> for DecoderError
[src]
fn from(err: Error) -> DecoderError
Performs the conversion.