pub struct Checkpoint<T> {
pub checkpoint_id: usize,
pub operation_index: usize,
pub partial_results: Vec<T>,
pub timestamp: Instant,
}Expand description
Checkpoint for saving execution state
Fields§
§checkpoint_id: usize§operation_index: usize§partial_results: Vec<T>§timestamp: InstantImplementations§
Trait Implementations§
Source§impl<T: Clone> Clone for Checkpoint<T>
impl<T: Clone> Clone for Checkpoint<T>
Source§fn clone(&self) -> Checkpoint<T>
fn clone(&self) -> Checkpoint<T>
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 moreAuto Trait Implementations§
impl<T> Freeze for Checkpoint<T>
impl<T> RefUnwindSafe for Checkpoint<T>where
T: RefUnwindSafe,
impl<T> Send for Checkpoint<T>where
T: Send,
impl<T> Sync for Checkpoint<T>where
T: Sync,
impl<T> Unpin for Checkpoint<T>where
T: Unpin,
impl<T> UnwindSafe for Checkpoint<T>where
T: UnwindSafe,
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