Is there any method on Result
that can convert error of one type to error of another type? Something like:
fn(self: Result<T, E>, Fun(E) -> F) -> Result<T, F>
Is there any method on Result
that can convert error of one type to error of another type? Something like:
fn(self: Result<T, E>, Fun(E) -> F) -> Result<T, F>
More generally, give this cheatsheet a try.
@Cerber-Ursi Great tool. Thank you!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.