Expand description
Reexports the core transformer traits along with optional helper crates.
Enable the desired features in your Cargo.toml
to bring the various
synchronous or asynchronous APIs into scope. Consumers typically depend on
this crate and activate the features they need:
[dependencies]
result-transformer = { version = "0.0.2", features = ["core-sync", "core-sync-macros"] }
Re-exports§
pub use result_transformer_core as core;
Modules§
- sync
- Collection of synchronous transformer traits.
Traits§
- ErrTransformer
- Trait for converting an error value into another type.
- OkTransformer
- Trait for converting a success value into another type.
- Result
Transformer - Trait for converting a
Result
to anotherResult
with different types.