Crate this_is_fine[−][src]
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
Creates a Fine
from a pair of a value and optional error.
Type Definitions
Broadly speaking, this is the result of an operation that sort of canβt fail.