Skip to main content

except_from_lean

Function except_from_lean 

Source
pub unsafe fn except_from_lean<T, E>(
    o: Obj,
    fe: impl FnOnce(Obj) -> E,
    fa: impl FnOnce(Obj) -> T,
) -> Result<T, E>
Expand description

A Result from a borrowed Except ε α.