pub struct CheckpointManager { /* private fields */ }Implementations§
Source§impl CheckpointManager
impl CheckpointManager
Sourcepub fn save(&self, checkpoint: &Checkpoint) -> Result<()>
pub fn save(&self, checkpoint: &Checkpoint) -> Result<()>
Save a checkpoint
Sourcepub fn load(&self, execution_id: &str) -> Result<Option<Checkpoint>>
pub fn load(&self, execution_id: &str) -> Result<Option<Checkpoint>>
Load the most recent checkpoint for an execution
Auto Trait Implementations§
impl !Freeze for CheckpointManager
impl !RefUnwindSafe for CheckpointManager
impl !Sync for CheckpointManager
impl !UnwindSafe for CheckpointManager
impl Send for CheckpointManager
impl Unpin for CheckpointManager
impl UnsafeUnpin for CheckpointManager
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