pub enum MessageFormatError {
BinarySerializeError,
BinaryDeserializeError,
JSONError(Error),
Base64DeserializeError(DecodeError),
}
Expand description
Errors for MessageFormat trait.
Variants§
Trait Implementations§
source§impl Debug for MessageFormatError
impl Debug for MessageFormatError
source§impl Display for MessageFormatError
impl Display for MessageFormatError
source§impl Error for MessageFormatError
impl Error for MessageFormatError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DecodeError> for MessageFormatError
impl From<DecodeError> for MessageFormatError
source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.