pub enum RuntimeFailure {
Show 14 variants
Unavailable {
capability: &'static str,
},
UnknownOperation {
capability: &'static str,
operation: String,
},
AmbiguousBinding {
capability: &'static str,
providers: usize,
},
ProtocolViolation {
capability: &'static str,
},
MissingModuleFactory {
instance: String,
package_id: String,
},
UnavailableExecutionClass {
instance_key: String,
execution_class: String,
},
InvalidResolvedPlan {
detail: String,
},
AdmissionClosed,
ResourceExhausted {
capability: &'static str,
operation: String,
},
DeadlineExceeded {
request_id: RequestId,
},
Cancelled {
request_id: RequestId,
},
Internal {
detail: String,
},
ModuleFailure {
detail: String,
},
ModuleRestartExhausted {
instance: String,
attempts: usize,
},
}Expand description
Runtime-owned failure, kept separate from Capability-defined Domain Errors.
Variants§
The consumer has no resolved binding for this Capability.
UnknownOperation
The bound provider does not declare the requested Operation.
AmbiguousBinding
A singular generated client was used for a requirement with many providers.
ProtocolViolation
Generated native types disagreed with the prepared endpoint.
MissingModuleFactory
A package selected by the Plan was not linked into the native App.
No installed Execution Adapter provides the class selected by one Instance.
InvalidResolvedPlan
The Resolved Plan or prepared endpoint set is internally inconsistent.
AdmissionClosed
New request admission was closed because the App is shutting down.
ResourceExhausted
The request could not enter a full bounded admission queue.
DeadlineExceeded
The invocation deadline expired before the request completed.
Cancelled
The caller cancelled the invocation before it completed.
Internal
The Runtime Driver or Adapter reported an internal execution failure.
ModuleFailure
A Module generation reported a failure that should trigger supervision.
ModuleRestartExhausted
A Module Instance exhausted its finite restart budget.
Trait Implementations§
Source§impl Clone for RuntimeFailure
impl Clone for RuntimeFailure
Source§fn clone(&self) -> RuntimeFailure
fn clone(&self) -> RuntimeFailure
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more