pub enum ErrorAction {
Propagate,
Retry,
Ignore,
}Expand description
Action to take on error.
Variants§
Propagate
Propagate the error normally.
Retry
Retry the operation.
Ignore
Ignore the error and continue.
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ErrorAction
impl RefUnwindSafe for ErrorAction
impl Send for ErrorAction
impl Sync for ErrorAction
impl Unpin for ErrorAction
impl UnsafeUnpin 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