Type Alias glean_core::LabeledCounter
source · pub type LabeledCounter = LabeledMetric<CounterMetric>;
Expand description
A labeled counter.
Aliased Type§
struct LabeledCounter { /* private fields */ }
Trait Implementations§
source§impl<UT> LiftRef<UT> for LabeledCounter
impl<UT> LiftRef<UT> for LabeledCounter
type LiftType = Arc<LabeledMetric<CounterMetric>>
source§impl<UT> LowerError<UT> for LabeledCounter
impl<UT> LowerError<UT> for LabeledCounter
source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
source§impl<UT> LowerReturn<UT> for LabeledCounter
impl<UT> LowerReturn<UT> for LabeledCounter
§type ReturnType = <Arc<LabeledMetric<CounterMetric>> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<LabeledMetric<CounterMetric>> as LowerReturn<UniFfiTag>>::ReturnType
The type that should be returned by scaffolding functions for this type. Read more
source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
Lower the return value from an scaffolding call Read more
§fn handle_failed_lift(
error: LiftArgsError
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError ) -> Result<Self::ReturnType, RustCallError>
Lower the return value for failed argument lifts Read more