[][src]Struct hdrhistogram::sync::IdleRecorder

pub struct IdleRecorder<T, C: Counter> where
    T: BorrowMut<Recorder<C>>, 
{ /* fields omitted */ }

This guard denotes that a Recorder is currently idle, and should not be waited on by a SyncHistogram phase-shift.

Implementations

impl<C: Counter> IdleRecorder<Recorder<C>, C>[src]

pub fn activate(self) -> Recorder<C>[src]

Mark the wrapped Recorder as active again and return it.

pub fn recorder(&self) -> Recorder<C>[src]

Clone the wrapped Recorder.

Trait Implementations

impl<T: Debug, C: Debug + Counter> Debug for IdleRecorder<T, C> where
    T: BorrowMut<Recorder<C>>, 
[src]

impl<T, C: Counter> Drop for IdleRecorder<T, C> where
    T: BorrowMut<Recorder<C>>, 
[src]

Auto Trait Implementations

impl<T, C> RefUnwindSafe for IdleRecorder<T, C> where
    C: RefUnwindSafe,
    T: RefUnwindSafe

impl<T, C> Send for IdleRecorder<T, C> where
    C: Send,
    T: Send

impl<T, C> Sync for IdleRecorder<T, C> where
    C: Sync,
    T: Sync

impl<T, C> Unpin for IdleRecorder<T, C> where
    C: Unpin,
    T: Unpin

impl<T, C> UnwindSafe for IdleRecorder<T, C> where
    C: 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.