Skip to main content

assert_write_get_stats

Function assert_write_get_stats 

Source
pub async fn assert_write_get_stats(
    memory: Arc<dyn MemoryProvider>,
    content: &str,
) -> Result<(MemoryChunk, MemoryStats)>
Expand description

Minimal contract every backend must satisfy: write a chunk, read it back, and report coherent stats.