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.