Attribute Macro cex_derive::cex_env_log [−][src]
#[cex_env_log]
tag an fn
with #[cex_env_log]
to:
-
enable “type pattern matching” in
match
expressions that are tagged with#[ty_pat]
/#[ty_pat(gen_variants)]/
#[ty_pat(gen A,B,..)]`. -
modify try(
?
) expressions to which appendmap_error_log()
automatically. -
generate code for
Result!()
/ret!()
/throw!()
macro invocations. -
backtrace enabled depending on the environment variable
RUST_BACKTRACE
.