Skip to content

A bit confused by the Either usage. #2869

Answered by the10thWiz
Magicloud asked this question in Questions
Discussion options

You must be logged in to vote

Rocket (and Either in general) does not treat either Left or Right as an error.

When you use Either as a responder, it simply requires both the Left and Right types to implement Responder.

Replies: 1 comment

Comment options

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