Skip to main content

memory_snapshot

Function memory_snapshot 

Source
pub fn memory_snapshot<T, C>(
    opts: SnapshotStorageOptions<T, C>,
) -> SnapshotStorage<MemoryBackend, T, C>
where T: Send + Sync + 'static, C: Codec<T>,
Expand description

Convenience: snapshot tier over a fresh in-memory backend.