Enum bincode::serde::SerializeError [] [src]

pub enum SerializeError {
    IoError(IoError),
    SizeLimit,
    Custom(String),
}

An error that can be produced during encoding.

Variants

An error originating from the underlying Writer.

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

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

A custom error message

Trait Implementations

impl Debug for SerializeError
[src]

Formats the value using the given formatter.

impl Error for SerializeError
[src]

Raised when there is a general error when serializing a type.

Raised when a Serialize was passed an incorrect value.

impl Display for SerializeError
[src]

Formats the value using the given formatter.

impl Error for SerializeError
[src]

A short description of the error. Read more

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