pub enum BoxError {
Show 19 variants
BoxBootError {
message: String,
hint: Option<String>,
},
TimeoutError(String),
IoError(Error),
SerializationError(String),
ConfigError(String),
TeeConfig(String),
TeeNotSupported(String),
AttestationError(String),
OciImageError(String),
RegistryError {
registry: String,
message: String,
},
CacheError(String),
PoolError(String),
ExecError(String),
BuildError(String),
NetworkError(String),
StateError(String),
AuditError(String),
ResizeError(String),
Other(String),
}Expand description
A3S Box error types
Variants§
BoxBootError
VM failed to start
TimeoutError(String)
Timeout error
IoError(Error)
I/O error
SerializationError(String)
Serialization error
ConfigError(String)
Configuration error
TeeConfig(String)
TEE configuration error
TeeNotSupported(String)
TEE hardware not available
AttestationError(String)
Attestation error
OciImageError(String)
OCI image error
RegistryError
Container registry error
CacheError(String)
Cache error
PoolError(String)
Pool error
ExecError(String)
Exec error
BuildError(String)
Build error
NetworkError(String)
Network error
StateError(String)
VM state machine error (invalid state transition or precondition)
AuditError(String)
Audit log error
ResizeError(String)
Resource resize error (hot-resize not supported or failed)
Other(String)
Generic error
Trait Implementations§
Source§impl Error for BoxError
impl Error for BoxError
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()
Auto Trait Implementations§
impl Freeze for BoxError
impl !RefUnwindSafe for BoxError
impl Send for BoxError
impl Sync for BoxError
impl Unpin for BoxError
impl UnsafeUnpin for BoxError
impl !UnwindSafe for BoxError
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