Expand description
Utilities for working with type Fine<T, E> = (T, Result<(), E>).
This crate for the most part just ports Resultβs API onto Fine. See Fine for the full API.
Note that any βandβ-, βorβ and βiterβ-style methods that appear on Result are excluded from the extensions.
If you need one of them, or to escalate with ?,
first call .not_fine() to crumple the Fine<T, E> into a classic Result<T, E>.
(More) transpose and flatten methods are also excluded, unless I figure out what makes the most sense there.
βπ
ModulesΒ§
TraitsΒ§
FunctionsΒ§
- from_
inverse - Creates a
Finefrom a pair of a value and optional error.
Type AliasesΒ§
- Fine
- Broadly speaking, this is the result of an operation that sort of canβt fail.