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

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

A visitor for the key-value pairs in a Source.

Required methods

fn visit_pair(
    &mut self,
    key: Key<'kvs>,
    value: Value<'kvs>
) -> Result<(), Error>
[src]

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]

impl<'a, 'b: 'a, 'kvs> Visitor<'kvs> for DebugMap<'a, 'b>[src]

impl<'a, 'b: 'a, 'kvs> Visitor<'kvs> for DebugList<'a, 'b>[src]

impl<'a, 'b: 'a, 'kvs> Visitor<'kvs> for DebugSet<'a, 'b>[src]

impl<'a, 'b: 'a, 'kvs> Visitor<'kvs> for DebugTuple<'a, 'b>[src]

impl<'kvs, V: ?Sized> Visitor<'kvs> for Box<V> where
    V: Visitor<'kvs>, 
[src]

Loading content...

Implementors

Loading content...