4 ms·
Because Rust doesn't do exceptions the way other languages with futures do, there's no special handling. Just use a future representing a Result, like you would
by Rusky 10y ago
Because Rust doesn't do exceptions the way other languages with futures do, there's no special handling. Just use a future representing a Result, like you would for synchronous errors.