pub enum ProviderExecutionError<AdapterError>where
AdapterError: Error + 'static,{
Cancelled {
stage: ExecutionStage,
},
Adapter {
stage: ExecutionStage,
attempts: u8,
source: AdapterError,
},
Cancellation {
source: AdapterError,
},
Reconcile(ReconcileError),
}Expand description
Provider execution failure with stable lifecycle context.
Variants§
Cancelled
Cooperative cancellation was requested.
Fields
§
stage: ExecutionStageAdapter
The Adapter failed during one lifecycle stage.
Fields
§
stage: ExecutionStageLifecycle stage that failed.
§
source: AdapterErrorAdapter-specific source error.
Cancellation
Cancellation was requested but the Adapter could not cancel the run.
Fields
§
source: AdapterErrorAdapter-specific source error.
Reconcile(ReconcileError)
Terminal evidence was structurally ambiguous.
Trait Implementations§
Source§impl<AdapterError> Debug for ProviderExecutionError<AdapterError>
impl<AdapterError> Debug for ProviderExecutionError<AdapterError>
Source§impl<AdapterError> Display for ProviderExecutionError<AdapterError>
impl<AdapterError> Display for ProviderExecutionError<AdapterError>
Source§impl<AdapterError> Error for ProviderExecutionError<AdapterError>
impl<AdapterError> Error for ProviderExecutionError<AdapterError>
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<AdapterError> From<ReconcileError> for ProviderExecutionError<AdapterError>where
AdapterError: Error + 'static,
impl<AdapterError> From<ReconcileError> for ProviderExecutionError<AdapterError>where
AdapterError: Error + 'static,
Source§fn from(source: ReconcileError) -> Self
fn from(source: ReconcileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<AdapterError> Freeze for ProviderExecutionError<AdapterError>where
AdapterError: Freeze,
impl<AdapterError> RefUnwindSafe for ProviderExecutionError<AdapterError>where
AdapterError: RefUnwindSafe,
impl<AdapterError> Send for ProviderExecutionError<AdapterError>where
AdapterError: Send,
impl<AdapterError> Sync for ProviderExecutionError<AdapterError>where
AdapterError: Sync,
impl<AdapterError> Unpin for ProviderExecutionError<AdapterError>where
AdapterError: Unpin,
impl<AdapterError> UnsafeUnpin for ProviderExecutionError<AdapterError>where
AdapterError: UnsafeUnpin,
impl<AdapterError> UnwindSafe for ProviderExecutionError<AdapterError>where
AdapterError: 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