Enum middleman::SendError [] [src]

pub enum SendError {
    Io(Error),
    TooBigToRepresent,
    Bincode(Box<ErrorKind>),
}

The error returned from send-like calls for the Middleman struct. Most errors originate from other dependencies. This enum thus delegates these cases, each to its own variant. In addition TooBigToRepresent is returned when the user passes a structure whose representation requires a length-field larger than std::u32::MAX, which the Middleman is not prepared to represent.

Variants

Trait Implementations

impl Debug for SendError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for SendError
[src]

[src]

Performs the conversion.

impl From<Box<ErrorKind>> for SendError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SendError

impl Sync for SendError