pub enum ErrorKind {
SendFailed,
InvalidData,
Timeout,
Dbus(Error),
Disconnected,
HostAlreadyExists,
WatcherLost,
UnknownItem,
UnknownMenuNode,
MenuNodeDisabled,
}Expand description
What went wrong for an Error.
Variants§
SendFailed
A message could not be sent.
InvalidData
A message contained invalid or unexpected data.
Timeout
A reply wasn’t received in time.
Dbus(Error)
The remote peer replied with an error.
Disconnected
The connection to the session bus was lost.
HostAlreadyExists
A StatusNotifierHost is already registered on the session bus.
WatcherLost
The external StatusNotifierWatcher is no longer available.
UnknownItem
The given item bus name isn’t known.
UnknownMenuNode
The given menu node doesn’t exist in the item’s menu.
MenuNodeDisabled
The given menu node is disabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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