Trait libcantal::Collection
[−]
[src]
pub trait Collection { fn visit<'x>(&'x self, visitor: &mut Visitor<'x>); }
A collection of metrics
A single collection is usually exported by a process but a vector or slice of collections is also a collections, so they can be combined easily.
Required Methods
fn visit<'x>(&'x self, visitor: &mut Visitor<'x>)
Visit the whole collection, use visitor to report a metric