Struct ReplicaMetrics
pub struct ReplicaMetrics(/* private fields */);Expand description
A member can report its counters while its application is waiting to become the primary. Allocate one handle per replica start.
Implementations§
§impl ReplicaMetrics
impl ReplicaMetrics
Trait Implementations§
§impl Clone for ReplicaMetrics
impl Clone for ReplicaMetrics
§fn clone(&self) -> ReplicaMetrics
fn clone(&self) -> ReplicaMetrics
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 more§impl Default for ReplicaMetrics
impl Default for ReplicaMetrics
§fn default() -> ReplicaMetrics
fn default() -> ReplicaMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplicaMetrics
impl RefUnwindSafe for ReplicaMetrics
impl Send for ReplicaMetrics
impl Sync for ReplicaMetrics
impl Unpin for ReplicaMetrics
impl UnsafeUnpin for ReplicaMetrics
impl UnwindSafe for ReplicaMetrics
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