Skip to main content

none_if

Function none_if 

Source
fn none_if<T>(
    result: Result<T>,
    absent: fn(&Error) -> bool,
) -> Result<Option<T>>