pub type OnErrorHdlrFn = Box<dyn FnMut(Error) -> Pin<Box<dyn Future<Output = ()> + Send + 'static>> + Send + Sync>;
struct OnErrorHdlrFn(/* private fields */);