pub enum UMessageError {
AttributesValidationError(UAttributesError),
DataSerializationError(Error),
PayloadError(String),
}
Variants§
Trait Implementations§
Source§impl Debug for UMessageError
impl Debug for UMessageError
Source§impl Display for UMessageError
impl Display for UMessageError
Source§impl Error for UMessageError
impl Error for UMessageError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<&str> for UMessageError
impl From<&str> for UMessageError
Source§impl From<Error> for UMessageError
impl From<Error> for UMessageError
Source§impl From<String> for UMessageError
impl From<String> for UMessageError
Source§impl From<UAttributesError> for UMessageError
impl From<UAttributesError> for UMessageError
Source§fn from(value: UAttributesError) -> Self
fn from(value: UAttributesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UMessageError
impl !RefUnwindSafe for UMessageError
impl Send for UMessageError
impl Sync for UMessageError
impl Unpin for UMessageError
impl !UnwindSafe for UMessageError
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