Function inspect::adhoc

source ยท
pub fn adhoc<F>(f: F) -> Adhoc<F>
where F: Fn(Request<'_>),
Expand description

Returns an object that implements Inspect by calling f with the inspection request.