pub enum Error {
SocketError,
AddrInUse,
EventChannelInitialized,
DaemonNotRunning,
NoLibrary,
LibraryNotAccessible,
CacheDirError(String),
DataDirError(String),
ConfigNotInitialized,
}Variants§
SocketError
Could not obtain the daemon socket address.
AddrInUse
The socket address is already in use.
EventChannelInitialized
Emitted when the daemon event channel is already initialized when starting the daemon.
This likely means a second daemon was started in the same context.
DaemonNotRunning
The event channel is not initialized, which likely means that there is no daemon running.
NoLibrary
LibraryNotAccessible
CacheDirError(String)
DataDirError(String)
ConfigNotInitialized
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Error
impl<'de> Deserialize<'de> for Error
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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