pub fn debug<F>(f: F) -> impl Debugwhere F: Fn(&mut Formatter<'_>) -> Result<(), Error>,
Turn a closure into a struct implementing Debug.
Debug