Struct timely::logging::BatchLogger [−][src]
Logs events as a timely stream, with progress statements.
Implementations
impl<T, E, P> BatchLogger<T, E, P> where
P: EventPusher<Duration, (Duration, E, T)>, [src]
P: EventPusher<Duration, (Duration, E, T)>,
pub fn new(event_pusher: P) -> Self[src]
Creates a new batch logger.
pub fn publish_batch(
&mut self,
time: &Duration,
data: &mut Vec<(Duration, E, T)>
)[src]
&mut self,
time: &Duration,
data: &mut Vec<(Duration, E, T)>
)
Publishes a batch of logged events and advances the capability.
Trait Implementations
impl<T, E, P> Drop for BatchLogger<T, E, P> where
P: EventPusher<Duration, (Duration, E, T)>, [src]
P: EventPusher<Duration, (Duration, E, T)>,
Auto Trait Implementations
impl<T, E, P> RefUnwindSafe for BatchLogger<T, E, P> where
E: RefUnwindSafe,
P: RefUnwindSafe,
T: RefUnwindSafe,
E: RefUnwindSafe,
P: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, E, P> Send for BatchLogger<T, E, P> where
E: Send,
P: Send,
T: Send,
E: Send,
P: Send,
T: Send,
impl<T, E, P> Sync for BatchLogger<T, E, P> where
E: Sync,
P: Sync,
T: Sync,
E: Sync,
P: Sync,
T: Sync,
impl<T, E, P> Unpin for BatchLogger<T, E, P> where
E: Unpin,
P: Unpin,
T: Unpin,
E: Unpin,
P: Unpin,
T: Unpin,
impl<T, E, P> UnwindSafe for BatchLogger<T, E, P> where
E: UnwindSafe,
P: UnwindSafe,
T: UnwindSafe,
E: UnwindSafe,
P: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
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.
pub 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>,