Module core::ops::try_trait

source ·


  • An adapter for implementing non-try methods via the Try implementation.
  • YeetExperimental
    Implement FromResidual<Yeet<T>> on your type to enable do yeet expr syntax in functions returning your type.



  • FromResidualExperimental
    Used to specify which residuals can be converted into which crate::ops::Try types.
  • ResidualExperimental
    Allows retrieving the canonical type implementing Try that has this type as its residual and allows it to hold an O as its output.
  • TryExperimental
    The ? operator and try {} blocks.


Type Definitions