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