Skip to main content

CheckpointStoreFactory

Trait CheckpointStoreFactory 

Source
pub trait CheckpointStoreFactory:
    Send
    + Sync
    + 'static {
    // Required methods
    fn id(&self) -> String;
    fn create(&self) -> Arc<dyn CheckpointStore>;
}

Required Methods§

Source

fn id(&self) -> String

Source

fn create(&self) -> Arc<dyn CheckpointStore>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§