Macro time::internal_macros::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.