pub enum BoxliteError {
Show 19 variants
UnsupportedEngine,
Engine(String),
Config(String),
Storage(String),
Image(String),
Portal(String),
Network(String),
Rpc(String),
RpcTransport(String),
Internal(String),
Execution(String),
Unsupported(String),
NotFound(String),
AlreadyExists(String),
InvalidState(String),
Database(String),
MetadataError(String),
InvalidArgument(String),
Stopped(String),
}Variants§
UnsupportedEngine
Engine(String)
Config(String)
Storage(String)
Image(String)
Portal(String)
Network(String)
Rpc(String)
RpcTransport(String)
Internal(String)
Execution(String)
Unsupported(String)
NotFound(String)
Box not found in registry or database.
AlreadyExists(String)
Box or resource already exists.
InvalidState(String)
Box is in wrong state for the requested operation.
Database(String)
Database operation failed.
MetadataError(String)
Metadata corruption or parsing error.
InvalidArgument(String)
Invalid argument provided.
Stopped(String)
Resource (box or runtime) has been stopped/shutdown.
Trait Implementations§
Source§impl Debug for BoxliteError
impl Debug for BoxliteError
Source§impl Display for BoxliteError
impl Display for BoxliteError
Source§impl Error for BoxliteError
impl Error for BoxliteError
1.30.0 · 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<&str> for BoxliteError
impl From<&str> for BoxliteError
Source§impl From<Error> for BoxliteError
impl From<Error> for BoxliteError
Source§impl From<Error> for BoxliteError
impl From<Error> for BoxliteError
Source§impl From<Error> for BoxliteError
impl From<Error> for BoxliteError
Source§impl From<Status> for BoxliteError
impl From<Status> for BoxliteError
Auto Trait Implementations§
impl Freeze for BoxliteError
impl RefUnwindSafe for BoxliteError
impl Send for BoxliteError
impl Sync for BoxliteError
impl Unpin for BoxliteError
impl UnwindSafe for BoxliteError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request