Crate stable_try_trait_v2
source ·Expand description
A simple stable replacement for the unstable Try
, FromResidual
, and Residual
traits under the try_trait_v2
feature
Modules
- core’s internal helper types, not part of the public try_trait_v2 API, but exported here for convenience
Macros
- A simple macro emulating the
?
operator for this crate’sTry
types, useful for contexts generic over this crate’sTry
types where the?
operator is not usable.
Traits
- Used to specify which residuals can be converted into which
core::ops::Try
types. - Allows retrieving the canonical type implementing
Try
that has this type as its residual and allows it to hold anO
as its output. - see
::core::ops::Try