pub type FlushHook = Arc<dyn Fn() -> Result<()> + Send + Sync>;
Run where a batch’s flush has returned, in tests; an error from it fails the flush as the drive’s would.
pub struct FlushHook { /* private fields */ }