pub enum NotificationError {
InvalidArgument(String),
NotifyError(UStatus),
}Expand description
An error indicating a problem with sending a notification to another uEntity.
Variants§
InvalidArgument(String)
Indicates that the given message cannot be sent because it is not a valid Notification message.
NotifyError(UStatus)
Indicates an unspecific error that occurred at the Transport Layer while trying to send a notification.
Trait Implementations§
Source§impl Debug for NotificationError
impl Debug for NotificationError
Source§impl Display for NotificationError
Available on non-tarpaulin_include only.
impl Display for NotificationError
Available on non-
tarpaulin_include only.Source§impl Error for NotificationError
impl Error for NotificationError
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()
Auto Trait Implementations§
impl !Freeze for NotificationError
impl RefUnwindSafe for NotificationError
impl Send for NotificationError
impl Sync for NotificationError
impl Unpin for NotificationError
impl UnsafeUnpin for NotificationError
impl UnwindSafe for NotificationError
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