result-transformer-core 0.0.2

Traits, macros and utilities for transforming Result values.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Collection of asynchronous transformer traits.
//!
//! These traits mirror the synchronous variants found under [`crate::sync`]
//! but expose `async` methods. These traits work on stable Rust using
//! `async fn` and do not require external crates for emulation.

#[cfg(feature = "async-macros")]
pub mod macros;

mod async_err_transformer;
mod async_ok_transformer;
mod async_result_transformer;

pub use async_err_transformer::AsyncErrTransformer;
pub use async_ok_transformer::AsyncOkTransformer;
pub use async_result_transformer::AsyncResultTransformer;