pub struct ProductGauge { /* private fields */ }Implementations§
Source§impl ProductGauge
impl ProductGauge
Sourcepub fn from_handle(handle: MetricHandle) -> MetricResult<Self>
pub fn from_handle(handle: MetricHandle) -> MetricResult<Self>
§Errors
Returns WrongKind if the handle is not the requested instrument kind.
Source§impl ProductGauge
impl ProductGauge
Trait Implementations§
Source§impl Clone for ProductGauge
impl Clone for ProductGauge
Source§fn clone(&self) -> ProductGauge
fn clone(&self) -> ProductGauge
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ProductGauge
impl !RefUnwindSafe for ProductGauge
impl Send for ProductGauge
impl Sync for ProductGauge
impl Unpin for ProductGauge
impl UnsafeUnpin for ProductGauge
impl !UnwindSafe for ProductGauge
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more