adhoc_mut

Function adhoc_mut 

Source
pub fn adhoc_mut<F>(f: F) -> Adhoc<F>
where F: FnMut(Request<'_>),
Expand description

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