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