Type Alias glean_core::LabeledQuantity
source · pub type LabeledQuantity = LabeledMetric<QuantityMetric>;
Expand description
A labeled quantity
Aliased Type§
struct LabeledQuantity { /* private fields */ }
Trait Implementations§
source§impl<UT> LiftRef<UT> for LabeledQuantity
impl<UT> LiftRef<UT> for LabeledQuantity
type LiftType = Arc<LabeledMetric<QuantityMetric>>
source§impl<UT> LowerError<UT> for LabeledQuantity
impl<UT> LowerError<UT> for LabeledQuantity
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 LabeledQuantity
impl<UT> LowerReturn<UT> for LabeledQuantity
source§type ReturnType = <Arc<LabeledMetric<QuantityMetric>> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<LabeledMetric<QuantityMetric>> 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