Module std::result

A type representing either success or failure

Enums

Result

Result is a type that represents either success (Ok) or failure (Err).

Traits

AsResult

A generic trait for converting a value to a Result

IntoResult

A generic trait for converting a value to a Result

ToResult

A generic trait for converting a value to a Result

Functions

collect

Takes each element in the iterator: if it is an error, no further elements are taken, and the error is returned. Should no error occur, a vector containing the values of each Result is returned.

fold

Perform a fold operation over the result values from an iterator.

fold_

Perform a trivial fold operation over the result values from an iterator.

map_opt