pub enum NotifyError {
Unavailable,
Unsupported(Unsupported),
Invalid(&'static str),
Failed(String),
}Variants§
This host has no notification service, or this process may not use it (an unbundled macOS binary).
Unsupported(Unsupported)
Invalid(&'static str)
The request itself is malformed (an empty tag).
Failed(String)
Trait Implementations§
Source§impl Clone for NotifyError
impl Clone for NotifyError
Source§impl Debug for NotifyError
impl Debug for NotifyError
Source§impl Display for NotifyError
impl Display for NotifyError
impl Eq 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()
Source§impl PartialEq for NotifyError
impl PartialEq for NotifyError
impl StructuralPartialEq for NotifyError
Auto Trait Implementations§
impl Forget for NotifyError
impl Freeze for NotifyError
impl Move for NotifyError
impl RefUnwindSafe for NotifyError
impl Send for NotifyError
impl Sync for NotifyError
impl Unpin for NotifyError
impl UnsafeUnpin 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