pub struct BatchLogger<P, C>where
P: EventPusher<Duration, C>,{ /* private fields */ }
Expand description
Logs events as a timely stream, with progress statements.
Implementations§
Source§impl<P, C> BatchLogger<P, C>
impl<P, C> BatchLogger<P, C>
Trait Implementations§
Source§impl<P, C> Drop for BatchLogger<P, C>where
P: EventPusher<Duration, C>,
impl<P, C> Drop for BatchLogger<P, C>where
P: EventPusher<Duration, C>,
Auto Trait Implementations§
impl<P, C> Freeze for BatchLogger<P, C>where
P: Freeze,
impl<P, C> RefUnwindSafe for BatchLogger<P, C>where
P: RefUnwindSafe,
C: RefUnwindSafe,
impl<P, C> Send for BatchLogger<P, C>
impl<P, C> Sync for BatchLogger<P, C>
impl<P, C> Unpin for BatchLogger<P, C>
impl<P, C> UnwindSafe for BatchLogger<P, C>where
P: UnwindSafe,
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more