pub enum LifecycleMetricPhase {
Init,
PostUpgrade,
}Expand description
LifecycleMetricPhase
Variants§
Implementations§
Source§impl LifecycleMetricPhase
impl LifecycleMetricPhase
pub const fn metric_label(self) -> &'static str
Trait Implementations§
Source§impl Clone for LifecycleMetricPhase
impl Clone for LifecycleMetricPhase
Source§fn clone(&self) -> LifecycleMetricPhase
fn clone(&self) -> LifecycleMetricPhase
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 moreSource§impl Hash for LifecycleMetricPhase
impl Hash for LifecycleMetricPhase
Source§impl Ord for LifecycleMetricPhase
impl Ord for LifecycleMetricPhase
Source§fn cmp(&self, other: &LifecycleMetricPhase) -> Ordering
fn cmp(&self, other: &LifecycleMetricPhase) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LifecycleMetricPhase
impl PartialEq for LifecycleMetricPhase
Source§impl PartialOrd for LifecycleMetricPhase
impl PartialOrd for LifecycleMetricPhase
impl Copy for LifecycleMetricPhase
impl Eq for LifecycleMetricPhase
impl StructuralPartialEq for LifecycleMetricPhase
Auto Trait Implementations§
impl Freeze for LifecycleMetricPhase
impl RefUnwindSafe for LifecycleMetricPhase
impl Send for LifecycleMetricPhase
impl Sync for LifecycleMetricPhase
impl Unpin for LifecycleMetricPhase
impl UnsafeUnpin for LifecycleMetricPhase
impl UnwindSafe for LifecycleMetricPhase
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