pub type ReadComplete = dyn Fn(Result<(Arc<Buffer>, i32), CompletionError>) -> Option<CompletionError> + Send + Sync;Expand description
Callback for read completions. Returns Some(error) if the callback detects an error
(e.g., short read), which will be stored in the completion and propagated to VDBE.