Crate break_block_macro

source ·

Macros§

  • Behaves like the ? operator, unwrapping a Result or Option but will break out of a scope labeled with the 'block label if a None or Err is encountered. This can be used to achieve something that resembles try-catch.