pub struct SharedStoreMetric(_);
Expand description

Representation of a metric that is expected to hold a value that can be accessed from more than one thread, so more synchronization is necessary.

Trait Implementations

Returns the “default value” for a type. Read more

Adds value to the current counter.

Returns current value of the counter.

Increments by 1 unit the current counter.

Serialize this value into the given Serde serializer. Read more

Returns current value of the counter.

Stores value to the current counter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.