pub enum DaemonErrorKind {
NotReady,
Other(String),
Serde(Error),
UnexpectedEvent(String),
UpgradeManager(String),
Unsupported,
}Expand description
Kinds for daemon related error messages.
Variants§
NotReady
Service not ready yet.
Other(String)
Generic errors.
Serde(Error)
Message serialization/deserialization related errors.
UnexpectedEvent(String)
Unexpected event type.
UpgradeManager(String)
Can’t upgrade the daemon.
Unsupported
Unsupported requests.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DaemonErrorKind
impl !RefUnwindSafe for DaemonErrorKind
impl Send for DaemonErrorKind
impl Sync for DaemonErrorKind
impl Unpin for DaemonErrorKind
impl !UnwindSafe for DaemonErrorKind
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