Checkpointable

Trait Checkpointable 

Source
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§

Source

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.

Implementors§