pub enum Error {
Show 29 variants
AlreadyExists,
InvalidArguments(String),
InvalidConfig(String),
InvalidPrefetchList,
NotFound,
NotReady,
Unsupported,
Serde(Error),
ThreadSpawn(Error),
ChannelSend(SendError<DaemonStateMachineInput>),
ChannelReceive(RecvError),
UpgradeManager(UpgradeMgrError),
StartService(String),
UnexpectedEvent(DaemonStateMachineInput),
WaitDaemon(Error),
FsTypeMismatch(String),
PassthroughFs(Error),
Rafs(RafsError),
Vfs(VfsError),
CreateFuseServer(Error),
SessionShutdown(Error),
HandleEventNotEpollIn,
HandleEventUnknownEvent,
IterateQueue,
InvalidDescriptorChain(Error),
ProcessQueue(Error),
Epoll(Error),
VhostUser(String),
QueueMemoryUnset,
}Expand description
Error code related to Nydus library.
Variants§
AlreadyExists
InvalidArguments(String)
Invalid arguments provided.
InvalidConfig(String)
InvalidPrefetchList
NotFound
NotReady
Unsupported
Serde(Error)
ThreadSpawn(Error)
ChannelSend(SendError<DaemonStateMachineInput>)
ChannelReceive(RecvError)
UpgradeManager(UpgradeMgrError)
StartService(String)
UnexpectedEvent(DaemonStateMachineInput)
Input event to stat-machine is not expected.
WaitDaemon(Error)
FsTypeMismatch(String)
PassthroughFs(Error)
Rafs(RafsError)
Vfs(VfsError)
CreateFuseServer(Error)
SessionShutdown(Error)
HandleEventNotEpollIn
HandleEventUnknownEvent
IterateQueue
InvalidDescriptorChain(Error)
ProcessQueue(Error)
Epoll(Error)
VhostUser(String)
QueueMemoryUnset
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()