3 ms·
This seems quite nice. With traits, this could become fully generic, as well: with a generic version of FromError, you could try! a function returning Result<R
by JoshTriplett 12y ago
This seems quite nice. With traits, this could become fully generic, as well: with a generic version of FromError, you could try! a function returning Result<R, E> for any error E.