Trait diem_logger::Visitor
source · pub trait Visitor {
// Required method
fn visit_pair(&mut self, key: Key, value: Value<'_>);
}
Expand description
A visitor for the key-value pairs in a Schema
.
Required Methods§
sourcefn visit_pair(&mut self, key: Key, value: Value<'_>)
fn visit_pair(&mut self, key: Key, value: Value<'_>)
Visit a key-value pair.