pub struct Recovery {
pub previous: RunId,
pub interruption: Interruption,
pub attempt: u32,
}Expand description
A restart of work that was interrupted.
Fields§
§previous: RunIdThe run that did not finish.
interruption: InterruptionWhat happened to it.
attempt: u32Which attempt this is. The first restart is attempt 2.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Recovery
impl<'de> Deserialize<'de> for Recovery
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
impl Eq for Recovery
impl StructuralPartialEq for Recovery
Auto Trait Implementations§
impl Freeze for Recovery
impl RefUnwindSafe for Recovery
impl Send for Recovery
impl Sync for Recovery
impl Unpin for Recovery
impl UnsafeUnpin for Recovery
impl UnwindSafe for Recovery
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