[][src]Struct log::key_values::source::Chained

pub struct Chained<A, B>(_, _);

A chain of two Sources.

Trait Implementations

impl<A, B> Source for Chained<A, B> where
    A: Source,
    B: Source
[src]

fn erase(&self) -> ErasedSource where
    Self: Sized
[src]

Erase this Source so it can be used without requiring generic type parameters. Read more

fn get<'kvs, Q>(&'kvs self, key: Q) -> Option<Value<'kvs>> where
    Q: ToKey
[src]

Find the value for a given key. Read more

fn by_ref(&self) -> &Self[src]

An adapter to borrow self.

fn chain<KVS>(self, other: KVS) -> Chained<Self, KVS> where
    Self: Sized
[src]

Chain two Sources together.

fn try_for_each<F, E>(self, f: F) -> Result<(), Error> where
    Self: Sized,
    F: FnMut(Key, Value) -> Result<(), E>,
    E: Into<Error>, 
[src]

Apply a function to each key-value pair.

fn as_map(self) -> AsMap<Self> where
    Self: Sized
[src]

Serialize the key-value pairs as a map.

fn as_seq(self) -> AsSeq<Self> where
    Self: Sized
[src]

Serialize the key-value pairs as a sequence.

impl<A: Debug, B: Debug> Debug for Chained<A, B>[src]

Auto Trait Implementations

impl<A, B> Send for Chained<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Chained<A, B> where
    A: Sync,
    B: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]