Struct timely::logging::BatchLogger[][src]

pub struct BatchLogger<T, E, P> where
    P: EventPusher<Duration, (Duration, E, T)>, 
{ /* fields omitted */ }

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]

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]

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]

Auto Trait Implementations

impl<T, E, P> RefUnwindSafe for BatchLogger<T, E, P> where
    E: RefUnwindSafe,
    P: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, E, P> Send for BatchLogger<T, E, P> where
    E: Send,
    P: Send,
    T: Send

impl<T, E, P> Sync for BatchLogger<T, E, P> where
    E: Sync,
    P: Sync,
    T: Sync

impl<T, E, P> Unpin for BatchLogger<T, E, P> where
    E: Unpin,
    P: Unpin,
    T: Unpin

impl<T, E, P> UnwindSafe for BatchLogger<T, E, P> where
    E: UnwindSafe,
    P: UnwindSafe,
    T: UnwindSafe

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.