pub enum MessageValidationError {
UnsupportedVersion {
expected: String,
actual: String,
},
TagException(TagException),
FieldMapError(FieldMapError),
ConversionError(ConversionError),
}Variants§
UnsupportedVersion
TagException(TagException)
FieldMapError(FieldMapError)
ConversionError(ConversionError)
Trait Implementations§
Source§impl Clone for MessageValidationError
impl Clone for MessageValidationError
Source§fn clone(&self) -> MessageValidationError
fn clone(&self) -> MessageValidationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MessageValidationError
impl Debug for MessageValidationError
Source§impl From<ConversionError> for MessageValidationError
impl From<ConversionError> for MessageValidationError
Source§fn from(e: ConversionError) -> Self
fn from(e: ConversionError) -> Self
Converts to this type from the input type.
Source§impl From<FieldMapError> for MessageValidationError
impl From<FieldMapError> for MessageValidationError
Source§fn from(e: FieldMapError) -> Self
fn from(e: FieldMapError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MessageValidationError
impl RefUnwindSafe for MessageValidationError
impl Send for MessageValidationError
impl Sync for MessageValidationError
impl Unpin for MessageValidationError
impl UnsafeUnpin for MessageValidationError
impl UnwindSafe for MessageValidationError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more