pub enum NucleusError {
Show 26 variants
NamespaceError(String),
CgroupError(String),
FilesystemError(String),
PivotRootError(String),
ContextError(String),
CapabilityError(String),
SeccompError(String),
LandlockError(String),
InvalidResourceLimit(String),
ResourceError(String),
ConfigError(String),
InvalidPath {
path: PathBuf,
},
ExecError(String),
GVisorError(String),
ContainerNotFound(String),
AmbiguousContainer(String),
CheckpointError(String),
NetworkError(String),
AttachError(String),
PermissionDenied(String),
ContainerNotRunning(String),
SyscallError(Error),
IoError(Error),
InvalidStateTransition {
from: String,
to: String,
},
HookError(String),
SerdeJsonError(Error),
}Variants§
NamespaceError(String)
CgroupError(String)
FilesystemError(String)
PivotRootError(String)
ContextError(String)
CapabilityError(String)
SeccompError(String)
LandlockError(String)
InvalidResourceLimit(String)
ResourceError(String)
ConfigError(String)
InvalidPath
ExecError(String)
GVisorError(String)
ContainerNotFound(String)
AmbiguousContainer(String)
CheckpointError(String)
NetworkError(String)
AttachError(String)
PermissionDenied(String)
ContainerNotRunning(String)
SyscallError(Error)
IoError(Error)
InvalidStateTransition
HookError(String)
SerdeJsonError(Error)
Trait Implementations§
Source§impl Debug for NucleusError
impl Debug for NucleusError
Source§impl Display for NucleusError
impl Display for NucleusError
Source§impl Error for NucleusError
impl Error for NucleusError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<Errno> for NucleusError
impl From<Errno> for NucleusError
Source§impl From<Error> for NucleusError
impl From<Error> for NucleusError
Auto Trait Implementations§
impl Freeze for NucleusError
impl !RefUnwindSafe for NucleusError
impl Send for NucleusError
impl Sync for NucleusError
impl Unpin for NucleusError
impl UnsafeUnpin for NucleusError
impl !UnwindSafe for NucleusError
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