pub(crate) type ResponseValidationFn<R> = Box<dyn Fn(&R, <R as Request>::Response) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync + 'static>, Error>> + Send + Sync + 'static>> + Send + Sync + 'static>;
Expand description
A type alias for the function that returns the above future
Aliased Typeยง
pub(crate) struct ResponseValidationFn<R>(/* private fields */);