pub enum NotifyError {
EventNameTooBig,
ReceiverClosed,
}
Expand description
Errors that can occur during notification.
Variants§
EventNameTooBig
The event name exceeds the allowed size (255 bytes).
ReceiverClosed
The receiver channel has been closed.
Trait Implementations§
Source§impl Debug for NotifyError
impl Debug for NotifyError
Source§impl Display for NotifyError
impl Display for NotifyError
Source§impl Error for NotifyError
impl Error for NotifyError
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 NotifyError
impl RefUnwindSafe for NotifyError
impl Send for NotifyError
impl Sync for NotifyError
impl Unpin for NotifyError
impl UnwindSafe for NotifyError
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