Enum goodmetrics::metrics::MetricsBehavior
source · pub enum MetricsBehavior {
Default,
SuppressTotalTime,
Suppress,
}
Variants§
Trait Implementations§
source§impl Clone for MetricsBehavior
impl Clone for MetricsBehavior
source§fn clone(&self) -> MetricsBehavior
fn clone(&self) -> MetricsBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MetricsBehavior
impl Debug for MetricsBehavior
impl Copy for MetricsBehavior
Auto Trait Implementations§
impl RefUnwindSafe for MetricsBehavior
impl Send for MetricsBehavior
impl Sync for MetricsBehavior
impl Unpin for MetricsBehavior
impl UnwindSafe for MetricsBehavior
Blanket Implementations§
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request