Rust Internals
Implementation of `try!` that works with `Option` and `Result`
libs
jfager
July 16, 2015, 1:59pm
10
Looks really useful, any plans to make this an RFC?
show post in topic
Related topics
Topic
Replies
Views
Activity
A macro that is to `Result::or_else` what `try!` is to `Result::and_then`
libs
24
5346
March 25, 2019
Auto-implement `TryInto<U>` for `Option<T> where T: Into<U>`
language design
5
1176
December 11, 2022
Allow `?` in unit-returning methods
language design
8
696
September 9, 2025
A slightly more general, easier to implement alternative to the Try trait
libs
36
4551
January 11, 2021
Why is <Option as Try>::Residual not a simple unit struct?
language design
12
1269
March 30, 2023