#[non_exhaustive]pub enum DriverError<RegistryError, ExecutorError> {
Registry(RegistryError),
Executor(ExecutorError),
}Expand description
Error returned by a driver step.
#[non_exhaustive]: an error enumeration grows as new failure modes appear, so a
downstream match must carry a wildcard arm.
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.
Registry(RegistryError)
Registry operation failed.
Executor(ExecutorError)
Executor infrastructure failed; the claim was left unsettled to lapse and be reclaimed (no settlement was recorded).
Trait Implementations§
Source§impl<RegistryError: Clone, ExecutorError: Clone> Clone for DriverError<RegistryError, ExecutorError>
impl<RegistryError: Clone, ExecutorError: Clone> Clone for DriverError<RegistryError, ExecutorError>
Source§fn clone(&self) -> DriverError<RegistryError, ExecutorError>
fn clone(&self) -> DriverError<RegistryError, ExecutorError>
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<RegistryError: Debug, ExecutorError: Debug> Debug for DriverError<RegistryError, ExecutorError>
impl<RegistryError: Debug, ExecutorError: Debug> Debug for DriverError<RegistryError, ExecutorError>
Source§impl<RegistryError, ExecutorError> Display for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> Display for DriverError<RegistryError, ExecutorError>
impl<RegistryError: Eq, ExecutorError: Eq> Eq for DriverError<RegistryError, ExecutorError>
Source§impl<RegistryError, ExecutorError> Error for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> Error for DriverError<RegistryError, ExecutorError>
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<RegistryError: PartialEq, ExecutorError: PartialEq> PartialEq for DriverError<RegistryError, ExecutorError>
impl<RegistryError: PartialEq, ExecutorError: PartialEq> PartialEq for DriverError<RegistryError, ExecutorError>
impl<RegistryError: PartialEq, ExecutorError: PartialEq> StructuralPartialEq for DriverError<RegistryError, ExecutorError>
Auto Trait Implementations§
impl<RegistryError, ExecutorError> Freeze for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> RefUnwindSafe for DriverError<RegistryError, ExecutorError>where
RegistryError: RefUnwindSafe,
ExecutorError: RefUnwindSafe,
impl<RegistryError, ExecutorError> Send for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> Sync for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> Unpin for DriverError<RegistryError, ExecutorError>
impl<RegistryError, ExecutorError> UnsafeUnpin for DriverError<RegistryError, ExecutorError>where
RegistryError: UnsafeUnpin,
ExecutorError: UnsafeUnpin,
impl<RegistryError, ExecutorError> UnwindSafe for DriverError<RegistryError, ExecutorError>where
RegistryError: UnwindSafe,
ExecutorError: UnwindSafe,
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