module documentation
Undocumented
Class |
|
A value that signifies failure and which stores arbitrary data for the error. |
Class |
|
A value that indicates success and which stores arbitrary data for the return value. |
Exception |
|
This is used to signal to do() that the result is an Err , which short-circuits the generator and returns that Err . Using this exception for control flow in do() allows us to simulate and_then() in the Err case: namely, we don't call ... |
Exception |
|
Exception raised from .unwrap_<...> and .expect_<...> calls. |
Type Variable |
|
Undocumented |
Type Variable |
|
Undocumented |
Type Alias |
|
A type to use in isinstance checks. This is purely for convenience sake, as you could also just write isinstance(res, (Ok, Err)) |