pub enum ErrorAction {
Fail,
Retry {
max_attempts: usize,
delay_ms: u64,
},
Skip,
Rollback,
}Expand description
Error action on step failure
Variants§
Trait Implementations§
Source§impl Clone for ErrorAction
impl Clone for ErrorAction
Source§fn clone(&self) -> ErrorAction
fn clone(&self) -> ErrorAction
Returns a duplicate of the value. Read more
1.0.0 · 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 ErrorAction
impl Debug for ErrorAction
Source§impl<'de> Deserialize<'de> for ErrorAction
impl<'de> Deserialize<'de> for ErrorAction
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
Auto Trait Implementations§
impl Freeze for ErrorAction
impl RefUnwindSafe for ErrorAction
impl Send for ErrorAction
impl Sync for ErrorAction
impl Unpin for ErrorAction
impl UnwindSafe for ErrorAction
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