pub trait GenericCheckpointer: Send + Sync {
// Required method
fn save<T: State>(
&self,
thread_id: &str,
state: &T,
metadata: &CheckpointMetadata,
) -> Result<()>;
}Expand description
Trait for generic checkpoint saving.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.