pub struct OpCell { /* private fields */ }Expand description
One cell of an op: the instruments for one coordinate.
Implementations§
Source§impl OpCell
impl OpCell
Sourcepub fn coordinate(&self) -> &Labels
pub fn coordinate(&self) -> &Labels
The dimension labels of this cell.
Sourcepub fn record_service_time(&self, nanos: u64)
pub fn record_service_time(&self, nanos: u64)
Record one cycle’s service time.
Sourcepub fn validation(&self) -> &ValidationMetrics
pub fn validation(&self) -> &ValidationMetrics
The relevancy statistics and validation outcomes of this cell.
Auto Trait Implementations§
impl !Freeze for OpCell
impl Forget for OpCell
impl Move for OpCell
impl RefUnwindSafe for OpCellwhere
Atomic<usize>: RefUnwindSafe,
Mutex<Histogram<u64>>: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
OnceLock<Arc<LiveWindowHistogram>>: RefUnwindSafe,
Mutex<Vec<f64>>: RefUnwindSafe,
Mutex<RunningAgg>: RefUnwindSafe,
RwLock<Component>: RefUnwindSafe,
OnceLock<RelevancyShape>: RefUnwindSafe,
Mutex<HashMap<String, Arc<OpCell>>>: RefUnwindSafe,
impl Send for OpCell
impl Sync for OpCell
impl Unpin for OpCell
impl UnsafeUnpin for OpCellwhere
*const ArcInner<Vec<(String, String)>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Vec<(String, String)>>>: UnsafeUnpin,
*const ArcInner<Timer> is !null: UnsafeUnpin,
PhantomData<ArcInner<Timer>>: UnsafeUnpin,
Align8<u64>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, F64Stats)>: UnsafeUnpin,
PhantomData<(String, Mutex<RunningAgg>)>: UnsafeUnpin,
*const ArcInner<OpCells> is !null: UnsafeUnpin,
PhantomData<ArcInner<OpCells>>: UnsafeUnpin,
impl UnwindSafe for OpCellwhere
Arc<Vec<(String, String)>>: UnwindSafe,
Arc<Timer>: UnwindSafe,
Align8<u64>: UnwindSafe,
HashMap<String, F64Stats>: UnwindSafe,
HashMap<String, Mutex<RunningAgg>>: UnwindSafe,
Arc<OpCells>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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