Trait pace_core::SyncStorage
source · pub trait SyncStorage {
// Required method
fn sync(&self) -> PaceResult<()>;
}
Expand description
A type of storage that can be synced to a persistent medium.
This is useful for in-memory storage that needs to be persisted to disk or a database.