pub type LabeledCounter = LabeledMetric<CounterMetric>;Expand description
A labeled counter.
Aliased Type§
pub 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
Source§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
Source§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