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,
},
MissingPluginFactory {
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,
},
PluginFailure {
detail: String,
},
PluginRestartExhausted {
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.
MissingPluginFactory
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.
PluginFailure
A Plugin generation reported a failure that should trigger supervision.
PluginRestartExhausted
A Plugin Instance exhausted its finite restart budget.
Trait Implementations§
Source§impl Clone for RuntimeFailure
impl Clone for RuntimeFailure
Source§impl Debug for RuntimeFailure
impl Debug for RuntimeFailure
impl Eq for RuntimeFailure
Source§impl From<&RuntimeFailure> for RuntimeFailureKind
impl From<&RuntimeFailure> for RuntimeFailureKind
Source§fn from(error: &RuntimeFailure) -> Self
fn from(error: &RuntimeFailure) -> Self
Source§impl PartialEq for RuntimeFailure
impl PartialEq for RuntimeFailure
impl StructuralPartialEq for RuntimeFailure
Auto Trait Implementations§
impl Freeze for RuntimeFailure
impl RefUnwindSafe for RuntimeFailure
impl Send for RuntimeFailure
impl Sync for RuntimeFailure
impl Unpin for RuntimeFailure
impl UnsafeUnpin for RuntimeFailure
impl UnwindSafe for RuntimeFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.