14669f6dcSopenharmony_ciThe enum `Either` with variants `Left` and `Right` is a general purpose
24669f6dcSopenharmony_cisum type with two cases.
34669f6dcSopenharmony_ci
44669f6dcSopenharmony_ciEither has methods that are similar to Option and Result, and it also implements
54669f6dcSopenharmony_citraits like `Iterator`.
64669f6dcSopenharmony_ci
74669f6dcSopenharmony_ciIncludes macros `try_left!()` and `try_right!()` to use for
84669f6dcSopenharmony_cishort-circuiting logic, similar to how the `?` operator is used with `Result`.
94669f6dcSopenharmony_ciNote that `Either` is general purpose. For describing success or error, use the
104669f6dcSopenharmony_ciregular `Result`.
11