Enum routing::messaging::Error [] [src]

pub enum Error {
    MetadataTooLarge,
    BodyTooLarge,
    Serialisation(SerialisationError),
}

Error types relating to MPID messaging.

Variants

Used where the length of a header's metadata exceeds MAX_HEADER_METADATA_SIZE.

Used where the length of a message's body exceeds MAX_BODY_SIZE.

Serialisation error.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl From<SerialisationError> for Error
[src]

[src]

Performs the conversion.