[−][src]Struct contralog::Map
Returned from the Logger::map method.
Trait Implementations
impl<I, L, F, B> Logger<B> for Map<L, F, B> where
L: Logger<I>,
F: FnMut(B) -> I,
[src]
L: Logger<I>,
F: FnMut(B) -> I,
type Error = L::Error
fn log(&mut self, item: B) -> Result<(), Self::Error>
[src]
fn by_ref(&mut self) -> &mut Self
[src]
fn chain<L>(self, other: L) -> Chain<Self, L> where
Self: Sized,
[src]
Self: Sized,
fn filter<F>(self, f: F) -> Filter<Self, F> where
Self: Sized,
F: FnMut(&I) -> bool,
[src]
Self: Sized,
F: FnMut(&I) -> bool,
fn map<F, B>(self, f: F) -> Map<Self, F, B> where
Self: Sized,
[src]
Self: Sized,
fn safe<E>(self) -> Safe<Self, E> where
Self: Sized,
[src]
Self: Sized,
Auto Trait Implementations
impl<L, F, B> Send for Map<L, F, B> where
F: Send,
L: Send,
F: Send,
L: Send,
impl<L, F, B> Sync for Map<L, F, B> where
F: Sync,
L: Sync,
F: Sync,
L: Sync,
impl<L, F, B> Unpin for Map<L, F, B> where
F: Unpin,
L: Unpin,
F: Unpin,
L: Unpin,
impl<L, F, B> UnwindSafe for Map<L, F, B> where
F: UnwindSafe,
L: UnwindSafe,
F: UnwindSafe,
L: UnwindSafe,
impl<L, F, B> RefUnwindSafe for Map<L, F, B> where
F: RefUnwindSafe,
L: RefUnwindSafe,
F: RefUnwindSafe,
L: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,