#[non_exhaustive]pub enum ExecutionErrorKind {
InputTypeMismatch,
InvalidSelection,
DependencyTypeMismatch,
MissingRequiredDependencyValue,
DuplicateDependencyBinding,
UnknownDependencyBinding,
MissingDependencyBinding,
PropertyReadFailed,
TraversalLimit,
AdapterContractViolation,
ExternalFailure,
}Expand description
A failure in the validation execution infrastructure.
§Examples
use qubit_validator::ExecutionErrorKind;
let kind = ExecutionErrorKind::InputTypeMismatch;
assert_eq!(kind.to_string(), "input type mismatch");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.
InputTypeMismatch
The supplied input has the wrong erased type.
InvalidSelection
The validation selection contains no matching validation path.
DependencyTypeMismatch
A dependency has the wrong erased type.
MissingRequiredDependencyValue
A required dependency value is absent.
DuplicateDependencyBinding
A named dependency value is supplied more than once.
UnknownDependencyBinding
A named dependency does not exist in the selected signature.
MissingDependencyBinding
A declared dependency value was not supplied by name.
PropertyReadFailed
A property could not be read.
TraversalLimit
Traversal exceeded an execution budget.
AdapterContractViolation
A prepared adapter returned an invalid protocol result.
ExternalFailure
An external operation failed.
Trait Implementations§
Source§impl Clone for ExecutionErrorKind
impl Clone for ExecutionErrorKind
impl Copy for ExecutionErrorKind
Source§impl Debug for ExecutionErrorKind
impl Debug for ExecutionErrorKind
Source§impl Display for ExecutionErrorKind
impl Display for ExecutionErrorKind
impl Eq for ExecutionErrorKind
Source§impl PartialEq for ExecutionErrorKind
impl PartialEq for ExecutionErrorKind
impl StructuralPartialEq for ExecutionErrorKind
Auto Trait Implementations§
impl Freeze for ExecutionErrorKind
impl RefUnwindSafe for ExecutionErrorKind
impl Send for ExecutionErrorKind
impl Sync for ExecutionErrorKind
impl Unpin for ExecutionErrorKind
impl UnsafeUnpin for ExecutionErrorKind
impl UnwindSafe for ExecutionErrorKind
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