pub struct ProductHistogram { /* private fields */ }Implementations§
Source§impl ProductHistogram
impl ProductHistogram
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.
Trait Implementations§
Source§impl Clone for ProductHistogram
impl Clone for ProductHistogram
Source§fn clone(&self) -> ProductHistogram
fn clone(&self) -> ProductHistogram
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 ProductHistogram
impl !RefUnwindSafe for ProductHistogram
impl Send for ProductHistogram
impl Sync for ProductHistogram
impl Unpin for ProductHistogram
impl UnsafeUnpin for ProductHistogram
impl !UnwindSafe for ProductHistogram
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