error_stack/ext/mod.rs
1//! Extension traits for `Report` and `Result`.
2//!
3//! These traits are currently unstable and require the `unstable` feature flag to be enabled.
4//! They provide additional functionality and convenience methods for error handling and
5//! manipulation.
6//!
7//! # Note
8//!
9//! The traits and methods in this module are subject to change and may be modified or
10//! removed in future versions. Use them with caution in production environments.
11
12pub(crate) mod iter;
13#[cfg(feature = "futures")]
14pub(crate) mod stream;
15pub(crate) mod tuple;
16
17#[cfg(feature = "futures")]
18pub use self::stream::{TryCollectReports, TryReportStreamExt};
19pub use self::{iter::TryReportIteratorExt, tuple::TryReportTupleExt};