try_prune

Function try_prune 

Source
fn try_prune<E>(name: &str, f: impl FnOnce() -> Result<usize, E>) -> usize
where E: Display,
Expand description

On Err logs a warn and returns 0 so the sweep continues.