pub trait Handler<N, W> { // Required method fn handle(&mut self, vocabulary: &N, warning: W); }
Warning handler.
This trait is implemented by the unit type () which ignores warnings. You can use Print or PrintWith to print warnings on the standard output or implement your own handler.
()
Print
PrintWith
Handle a warning with the given vocabulary.
vocabulary