Enum nydus_service::Error
source · pub enum Error {
Show 29 variants
AlreadyExists,
InvalidArguments(String),
InvalidConfig(String),
InvalidPrefetchList,
NotFound,
NotReady,
Unsupported,
Serde(SerdeError),
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(FuseTransportError),
HandleEventNotEpollIn,
HandleEventUnknownEvent,
IterateQueue,
InvalidDescriptorChain(FuseTransportError),
ProcessQueue(FuseError),
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(SerdeError)
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(FuseTransportError)
HandleEventNotEpollIn
HandleEventUnknownEvent
IterateQueue
InvalidDescriptorChain(FuseTransportError)
ProcessQueue(FuseError)
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()
source§impl From<Error> for DaemonErrorKind
impl From<Error> for DaemonErrorKind
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(source: FuseTransportError) -> Self
fn from(source: FuseTransportError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin 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