Crate rustility

Source
Expand description

§Rustility

rustility is a collection of useful utilities and repeatable logic that I often find myself using in Rust.

§Features

macros = Enables all macros in this crate.

traits = Enables all traits in this crate.

full = Default feature, enables everything.

Macros§

result_or_option
Creates a wrapper closure/async block as needed around a block or an expression.

Traits§

AsyncMap
AsyncMap is a trait used to map a value under asynchronous contexts.
Discard
Discard is a trait used to discard the values of results/options.