Skip to main content

MetricLabel

Trait MetricLabel 

Source
pub(super) trait MetricLabel: Copy + 'static {
    const VARIANTS: &'static [Self];
    const COUNT: usize;

    // Required method
    fn as_index(self) -> usize;
}

Required Associated Constants§

Source

const VARIANTS: &'static [Self]

Source

const COUNT: usize

Required Methods§

Source

fn as_index(self) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl MetricLabel for WebSocketCloseCode

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

fn as_index(self) -> usize

Implementors§

Source§

impl MetricLabel for BudgetSolverOutcome

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for HttpRoute

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for MediaQualityLossDirection

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for MediaQualitySample

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcDatagramDropReason

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcDatagramRoutePath

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcKeyframeRequestOutcome

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcNackDirection

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcOutputBudgetLimit

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcRelayEnqueueResult

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcRemoteControlDropKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcRemotePacketGateConvergence

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtcRouteControlOutcome

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtpDecoderRefreshScope

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtpForwardDestinationKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtpRelayDropKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for SourceSelectionKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for TransportHealthState

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for TransportIceState

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsSessionLoopExitReason

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for ControlPlaneDurationBucket

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize = 7

Source§

impl MetricLabel for HttpDisconnectResponseStatus

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for HttpRoomResponseStatus

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for MediaQualityRttBucket

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RecordingActionOutcome

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for RtpFlowDirection

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for TransportHealthTransition

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for TransportUserLifetimeBucket

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsBusClientFrameKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsBusDirection

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsBusFailureKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsConnectionStage

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize

Source§

impl MetricLabel for WsStartupFailureKind

Source§

const VARIANTS: &'static [Self]

Source§

const COUNT: usize