pub struct NoopCheckpointer;Expand description
A checkpointer that discards progress. Useful for tests and one-shot runs where resumability is not required.
Trait Implementations§
Source§impl Clone for NoopCheckpointer
impl Clone for NoopCheckpointer
Source§fn clone(&self) -> NoopCheckpointer
fn clone(&self) -> NoopCheckpointer
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 moreimpl Copy for NoopCheckpointer
Source§impl Debug for NoopCheckpointer
impl Debug for NoopCheckpointer
Source§impl Default for NoopCheckpointer
impl Default for NoopCheckpointer
Source§fn default() -> NoopCheckpointer
fn default() -> NoopCheckpointer
Returns the “default value” for a type. Read more
Source§impl SnapshotCheckpointer for NoopCheckpointer
impl SnapshotCheckpointer for NoopCheckpointer
Source§fn save_progress<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_checkpoint: &'life1 InterleavedSnapshotCheckpoint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_progress<'life0, 'life1, 'async_trait>(
&'life0 mut self,
_checkpoint: &'life1 InterleavedSnapshotCheckpoint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Persist progress made so far. Called after each chunk is durably
applied to the sink and before the corresponding change-log data is
freed.
Auto Trait Implementations§
impl Freeze for NoopCheckpointer
impl RefUnwindSafe for NoopCheckpointer
impl Send for NoopCheckpointer
impl Sync for NoopCheckpointer
impl Unpin for NoopCheckpointer
impl UnsafeUnpin for NoopCheckpointer
impl UnwindSafe for NoopCheckpointer
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