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
23
5413
January 29, 2015
Auto-implement `TryInto<U>` for `Option<T> where T: Into<U>`
language design
4
1213
September 12, 2022
Allow `?` in unit-returning methods
language design
8
732
September 9, 2025
A slightly more general, easier to implement alternative to the Try trait
libs
34
4707
January 11, 2021
Why is <Option as Try>::Residual not a simple unit struct?
language design
11
1297
December 30, 2022