pub struct ProfilingSampleFrequency(/* private fields */);Expand description
A positive, finite, whole-Hz sampling frequency accepted by pprof, whose
frequency input is a signed int.
Implementations§
Trait Implementations§
Source§impl Clone for ProfilingSampleFrequency
impl Clone for ProfilingSampleFrequency
Source§fn clone(&self) -> ProfilingSampleFrequency
fn clone(&self) -> ProfilingSampleFrequency
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProfilingSampleFrequency
Source§impl Debug for ProfilingSampleFrequency
impl Debug for ProfilingSampleFrequency
Source§impl Default for ProfilingSampleFrequency
impl Default for ProfilingSampleFrequency
impl Eq for ProfilingSampleFrequency
Source§impl FromStr for ProfilingSampleFrequency
impl FromStr for ProfilingSampleFrequency
Source§impl PartialEq for ProfilingSampleFrequency
impl PartialEq for ProfilingSampleFrequency
impl StructuralPartialEq for ProfilingSampleFrequency
Source§impl TryFrom<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, I = Z0, Th = Z0, L = Z0, N = Z0, M = Z0, J = Z0, Kind = dyn Kind>, dyn Units<f64, electric_current = ampere, amount_of_substance = mole, mass = kilogram, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin, length = meter>, f64>> for ProfilingSampleFrequency
impl TryFrom<Quantity<dyn Dimension<T = NInt<UInt<UTerm, B1>>, I = Z0, Th = Z0, L = Z0, N = Z0, M = Z0, J = Z0, Kind = dyn Kind>, dyn Units<f64, electric_current = ampere, amount_of_substance = mole, mass = kilogram, luminous_intensity = candela, time = second, thermodynamic_temperature = kelvin, length = meter>, f64>> for ProfilingSampleFrequency
Auto Trait Implementations§
impl Freeze for ProfilingSampleFrequency
impl RefUnwindSafe for ProfilingSampleFrequency
impl Send for ProfilingSampleFrequency
impl Sync for ProfilingSampleFrequency
impl Unpin for ProfilingSampleFrequency
impl UnsafeUnpin for ProfilingSampleFrequency
impl UnwindSafe for ProfilingSampleFrequency
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more