Skip to main content
Module try_trait Copy item path Source use crate::marker::Destruct ; ๐ Experimental use crate::ops::ControlFlow ; ๐ NeverShortCircuit ๐ An adapter for implementing non-try methods via the Try implementation. Yeet Experimental Implement FromResidual<Yeet<T>> on your type to enable
do yeet expr syntax in functions returning your type. NeverShortCircuitResidual ๐ FromResidual Experimental Used to specify which residuals can be converted into which crate::ops::Try types. Residual Experimental Allows retrieving the canonical type implementing Try that has this type
as its residual and allows it to hold an O as its output. Try Experimental The ? operator and try {} blocks. from_yeet Experimental residual_into_try_type Experimental Used in try {} blocks so the type produced in the ? desugaring
depends on the residual type R and the output type of the block O,
but importantly not on the contextual type the way it would be if
we called <_ as FromResidual>::from_residual(r) directly. ChangeOutputType ๐ Experimental