pub trait Checkpointer: Send + Sync {
// Required methods
fn put<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
config: &'life1 CheckpointConfig,
checkpoint: &'life2 Checkpoint,
) -> Pin<Box<dyn Future<Output = Result<(), SynapseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 CheckpointConfig,
) -> Pin<Box<dyn Future<Output = Result<Option<Checkpoint>, SynapseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 CheckpointConfig,
) -> Pin<Box<dyn Future<Output = Result<Vec<Checkpoint>, SynapseError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Trait for persisting graph state checkpoints.