Enum bincode::rustc_serialize::EncodingError [] [src]

pub enum EncodingError {
    IoError(IoError),
    SizeLimit,
}

An error that can be produced during encoding.

Variants

IoError

An error originating from the underlying Writer.

SizeLimit

An object could not be encoded with the given size limit.

This error is returned before any bytes are written to the output Writer.

Trait Implementations

impl Display for EncodingError

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

impl Error for EncodingError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for EncodingError

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