pub struct AbortOnFailure;Expand description
Always aborts on failure.
Trait Implementations§
Source§impl RecoveryStrategy for AbortOnFailure
impl RecoveryStrategy for AbortOnFailure
fn handle_step_failure<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_step: &'life1 PlanStep,
_error: &'life2 str,
_retry_count: usize,
) -> Pin<Box<dyn Future<Output = Result<RecoveryAction, AgentError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
AbortOnFailure: 'async_trait,
Auto Trait Implementations§
impl Freeze for AbortOnFailure
impl RefUnwindSafe for AbortOnFailure
impl Send for AbortOnFailure
impl Sync for AbortOnFailure
impl Unpin for AbortOnFailure
impl UnsafeUnpin for AbortOnFailure
impl UnwindSafe for AbortOnFailure
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