pub struct InMemoryCheckpointStore<SN, F> {
pub saved: Arc<Mutex<Vec<Checkpoint<SN, F>>>>,
}Fields§
§saved: Arc<Mutex<Vec<Checkpoint<SN, F>>>>Implementations§
Source§impl<SN, F> InMemoryCheckpointStore<SN, F>
impl<SN, F> InMemoryCheckpointStore<SN, F>
pub fn new() -> Self
pub fn saved_count(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl<SN, F> Freeze for InMemoryCheckpointStore<SN, F>
impl<SN, F> RefUnwindSafe for InMemoryCheckpointStore<SN, F>
impl<SN, F> Send for InMemoryCheckpointStore<SN, F>
impl<SN, F> Sync for InMemoryCheckpointStore<SN, F>
impl<SN, F> Unpin for InMemoryCheckpointStore<SN, F>
impl<SN, F> UnsafeUnpin for InMemoryCheckpointStore<SN, F>
impl<SN, F> UnwindSafe for InMemoryCheckpointStore<SN, F>
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