pub trait DeclMeter {
// Required methods
fn begin(&mut self);
fn end(&mut self, name: &str, kind: &'static str, admitted: bool);
}Expand description
Observes each declaration the reader hands to the kernel: begin just before the kernel
checks it and end just after, with its name, its record kind and whether it was admitted. A
measurement hook; checking never depends on it.