pub struct ActivityResolution<'a> {
pub sigdigs: u8,
pub error_policy: Arc<ErrorPolicy>,
pub phase_kernel: Option<Arc<ScopeKernel>>,
pub metric_detail: &'a MetricDetailConfig,
}Expand description
The settings an activity’s execution resolves for it, passed to
Activity::with_resolution.
Fields§
§sigdigs: u8HDR significant digits every histogram the activity owns is
built at (hdr.sigdigs, SRD 40).
error_policy: Arc<ErrorPolicy>The error policy, shared with the parent scope.
phase_kernel: Option<Arc<ScopeKernel>>The phase node’s kernel; None off the executor’s phase path.
metric_detail: &'a MetricDetailConfigCounter-vs-timer detail for the op-outcome instruments (SRD-91).
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ActivityResolution<'a>
impl<'a> !UnwindSafe for ActivityResolution<'a>
impl<'a> Forget for ActivityResolution<'a>
impl<'a> Freeze for ActivityResolution<'a>where
*const ArcInner<ErrorPolicy> is !null: Freeze,
PhantomData<ArcInner<ErrorPolicy>>: Freeze,
*const ArcInner<ScopeKernel> is !null: Freeze,
PhantomData<ArcInner<ScopeKernel>>: Freeze,
&'a MetricDetailConfig: Freeze,
impl<'a> Move for ActivityResolution<'a>
impl<'a> Send for ActivityResolution<'a>
impl<'a> Sync for ActivityResolution<'a>
impl<'a> Unpin for ActivityResolution<'a>
impl<'a> UnsafeUnpin for ActivityResolution<'a>where
*const ArcInner<ErrorPolicy> is !null: UnsafeUnpin,
PhantomData<ArcInner<ErrorPolicy>>: UnsafeUnpin,
*const ArcInner<ScopeKernel> is !null: UnsafeUnpin,
PhantomData<ArcInner<ScopeKernel>>: UnsafeUnpin,
&'a MetricDetailConfig: UnsafeUnpin,
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