[−][src]Struct log::key_values::source::Chained
A chain of two Source
s.
Trait Implementations
impl<A, B> Source for Chained<A, B> where
A: Source,
B: Source,
[src]
A: Source,
B: Source,
fn visit<'kvs>(&'kvs self, visitor: &mut dyn Visitor<'kvs>) -> Result<(), Error>
[src]
fn erase(&self) -> ErasedSource where
Self: Sized,
[src]
Self: Sized,
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]
Q: ToKey,
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]
Self: Sized,
Chain two Source
s 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]
Self: Sized,
F: FnMut(Key, Value) -> Result<(), E>,
E: Into<Error>,
Apply a function to each key-value pair.
fn as_map(self) -> AsMap<Self> where
Self: Sized,
[src]
Self: Sized,
Serialize the key-value pairs as a map.
fn as_seq(self) -> AsSeq<Self> where
Self: Sized,
[src]
Self: Sized,
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,
A: Send,
B: Send,
impl<A, B> Sync for Chained<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,