pub trait Checkpointable: Serialize + for<'de> Deserialize<'de> {
// Required method
fn checkpoint_id(&self) -> String;
}Expand description
Trait for objects that can be checkpointed.
Required Methods§
Sourcefn checkpoint_id(&self) -> String
fn checkpoint_id(&self) -> String
Get a unique identifier for this checkpoint.
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.