try_map
`try_map` and `flip` methods for `Option`. These allow more ergonomic error handling when mapping functions that return `Result` over `Optio
- Category
- Rust crates
cargo add try_map Official docs outline
docs.rsExtra Credit builds an outline of try_map's docs the first time your work uses it. Until then, start at the official documentation.
More in Rust crates
All 4,945-
async-scoped Spawn scoped (non 'static) asynchronous futures for async_std and tokio runtimes
-
presser A crate to help you copy things into raw buffers without invoking spooky action at a distance (undefined behavior).
-
schnellru A fast and flexible LRU map
-
uniffi_meta uniffi_meta
-
swc_allocator A thin wrapper for bumpalo
-
alloy-rpc-types Meta-crate for all Ethereum JSON-RPC types
-
futures-cpupool An implementation of thread pools which hand out futures to the results of the computation on the threads themselves.
-
wayland-protocols-misc Generated API for misc and deprecated wayland protocol extensions
-
gix-archive archive generation from of a worktree stream
-
autotools A build dependency to build native libraries that use configure&make-style build systems
-
yaml-merge-keys Implementation of the YAML merge key extension. http://yaml.org/type/merge.html
-
version-ranges Performance-optimized type for generic version ranges and operations on them.