Skip to content

Is there any plans to support Into<Outcome> for Result and Optional? #2150

Answered by SergioBenitez
hasunwoo asked this question in Ideas
Discussion options

You must be logged in to vote

It's not quite so simple. What you're asking for is not possible on Rust stable. To circumvent, we have the try_outcome! macro which does the same thing ? would do. See #597 for more.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hasunwoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants