[−][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
Relevantpanic on drop - "log" feature uses
logcrate andRelevantwill emitlog::error!on drop. - otherwise
Relevantwill 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 |