[−][src]Crate relevant
Defines Relevant
type to use in types that requires
custom destruction.
Crate supports 3 main mechnisms for error reporting:
- "panic" feature makes
Relevant
panic on drop - "log" feature uses
log
crate andRelevant
will emitlog::error!
on drop. - otherwise
Relevant
will print into stderr usingeprintln!
on drop.
"backtrace" feature will add backtrace to the error unless it is reported via panicking. "message" feature will add custom message (specified when value was created) to the error.
Structs
Relevant | Values of this type can't be automatically dropped.
If struct or enum has field with type |