Enum routing::messaging::Error
[−]
[src]
pub enum Error { MetadataTooLarge, BodyTooLarge, Serialisation(SerialisationError), }
Error types relating to MPID messaging.
Variants
MetadataTooLarge
Used where the length of a header's metadata
exceeds
MAX_HEADER_METADATA_SIZE
.
BodyTooLarge
Used where the length of a message's body
exceeds
MAX_BODY_SIZE
.
Serialisation(SerialisationError)
Serialisation error.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more
impl From<SerialisationError> for Error
[src]
fn from(error: SerialisationError) -> Error
[src]
Performs the conversion.