Crate warn [−] [src]
A simple library for warning callbacks.
Structs
Closure |
Helper struct for the |
Ignore |
Struct that will ignore all the warnings it gets passed. |
Log |
Struct that logs each warning it encounters. |
Panic |
Struct that will panic on any warning it encounters. |
RevMap |
Helper struct for the |
Wrap |
Helper struct for the |
Traits
Warn |
Trait for objects that can accept warnings. |
Functions
closure |
Applies a function to all warnings passed to this object. |
rev_map |
Applies a function to all warnings passed to this, before passing it to the underlying warn object. |
wrap |
Wraps a |