pub fn adhoc<F>(f: F) -> Adhoc<F>where F: Fn(Request<'_>),
Returns an object that implements Inspect by calling f with the inspection request.
Inspect
f