#[non_exhaustive]pub enum RunErrorKind {
InvalidInput,
CapabilityDenied,
BudgetExceeded,
DeadlineExceeded,
Cancelled,
Transport,
Protocol,
Invocation,
Extension(String),
}Expand description
A normalized run failure category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidInput
Input or configuration is invalid.
CapabilityDenied
A required capability was not granted.
BudgetExceeded
A resource budget was exhausted.
DeadlineExceeded
A deadline elapsed.
Cancelled
The run was cancelled.
Transport
A transport failed.
Protocol
A remote protocol was malformed or violated its contract.
Invocation
An invoked component failed.
Extension(String)
A namespaced extension error.
Trait Implementations§
Source§impl Clone for RunErrorKind
impl Clone for RunErrorKind
Source§fn clone(&self) -> RunErrorKind
fn clone(&self) -> RunErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunErrorKind
impl Debug for RunErrorKind
Source§impl<'de> Deserialize<'de> for RunErrorKind
impl<'de> Deserialize<'de> for RunErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunErrorKind
Source§impl PartialEq for RunErrorKind
impl PartialEq for RunErrorKind
Source§impl Serialize for RunErrorKind
impl Serialize for RunErrorKind
impl StructuralPartialEq for RunErrorKind
Auto Trait Implementations§
impl Freeze for RunErrorKind
impl RefUnwindSafe for RunErrorKind
impl Send for RunErrorKind
impl Sync for RunErrorKind
impl Unpin for RunErrorKind
impl UnsafeUnpin for RunErrorKind
impl UnwindSafe for RunErrorKind
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