Skip to main content

FlushHook

Type Alias FlushHook 

Source
pub type FlushHook = Arc<dyn Fn() -> Result<()> + Send + Sync>;
Expand description

Run where a batch’s flush has returned, in tests; an error from it fails the flush as the drive’s would.

Aliased Type§

pub struct FlushHook { /* private fields */ }