[][src]Trait log::key_values::source::Visitor

pub trait Visitor<'kvs> {
    fn visit_pair(&mut self, k: Key<'kvs>, v: Value<'kvs>) -> Result<(), Error>;
}

A visitor for key value pairs.

The lifetime of the keys and values is captured by the 'kvs type.

Required methods

fn visit_pair(&mut self, k: Key<'kvs>, v: Value<'kvs>) -> Result<(), Error>

Visit a key value pair.

Loading content...

Implementations on Foreign Types

impl<'a, 'kvs, T: ?Sized> Visitor<'kvs> for &'a mut T where
    T: Visitor<'kvs>, 
[src]

Loading content...

Implementors

Loading content...