time::internal_macros

Macro const_try

Source
macro_rules! const_try {
    ($e:expr) => { ... };
}
Expand description

Try to unwrap an expression, returning if not possible.

This is similar to the ? operator, but does not perform .into(). Because of this, it is usable in const contexts.