[−][src]Struct hdrhistogram::sync::IdleRecorder
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]
T: BorrowMut<Recorder<C>>,
impl<T, C: Counter> Drop for IdleRecorder<T, C> where
T: BorrowMut<Recorder<C>>,
[src]
T: BorrowMut<Recorder<C>>,
Auto Trait Implementations
impl<T, C> RefUnwindSafe for IdleRecorder<T, C> where
C: RefUnwindSafe,
T: RefUnwindSafe,
C: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, C> Send for IdleRecorder<T, C> where
C: Send,
T: Send,
C: Send,
T: Send,
impl<T, C> Sync for IdleRecorder<T, C> where
C: Sync,
T: Sync,
C: Sync,
T: Sync,
impl<T, C> Unpin for IdleRecorder<T, C> where
C: Unpin,
T: Unpin,
C: Unpin,
T: Unpin,
impl<T, C> UnwindSafe for IdleRecorder<T, C> where
C: UnwindSafe,
T: UnwindSafe,
C: 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,
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.
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>,