Enum bincode::EncodingError [] [src]

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

An error that can be produced during encoding.

Variants

IoError(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 Debug for EncodingError
[src]

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

Formats the value using the given formatter.

impl Display for EncodingError
[src]

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

Formats the value using the given formatter.

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