pub struct RecoveryMetadata {
pub total_retries: usize,
pub checkpoints_created: usize,
pub execution_time: Duration,
pub recovery_strategy_used: RecoveryStrategy,
}Expand description
Metadata about recovery process
Fields§
§total_retries: usize§checkpoints_created: usize§execution_time: Duration§recovery_strategy_used: RecoveryStrategyImplementations§
Source§impl RecoveryMetadata
impl RecoveryMetadata
pub fn new(strategy: RecoveryStrategy) -> Self
Trait Implementations§
Source§impl Clone for RecoveryMetadata
impl Clone for RecoveryMetadata
Source§fn clone(&self) -> RecoveryMetadata
fn clone(&self) -> RecoveryMetadata
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 RecoveryMetadata
impl Debug for RecoveryMetadata
Auto Trait Implementations§
impl Freeze for RecoveryMetadata
impl RefUnwindSafe for RecoveryMetadata
impl Send for RecoveryMetadata
impl Sync for RecoveryMetadata
impl Unpin for RecoveryMetadata
impl UnwindSafe for RecoveryMetadata
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