#[repr(u8)]pub enum OperationLifecycle {
Open = 0,
Finishing = 1,
Closed = 2,
}Expand description
Lifecycle state visible to metric transition errors.
Variants§
Open = 0
Metric transitions may enter the operation.
Finishing = 1
New transitions are rejected while terminal validation runs.
Closed = 2
The operation can no longer be mutated.
Trait Implementations§
Source§impl Clone for OperationLifecycle
impl Clone for OperationLifecycle
Source§fn clone(&self) -> OperationLifecycle
fn clone(&self) -> OperationLifecycle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationLifecycle
Source§impl Debug for OperationLifecycle
impl Debug for OperationLifecycle
impl Eq for OperationLifecycle
Source§impl PartialEq for OperationLifecycle
impl PartialEq for OperationLifecycle
impl StructuralPartialEq for OperationLifecycle
Auto Trait Implementations§
impl Freeze for OperationLifecycle
impl RefUnwindSafe for OperationLifecycle
impl Send for OperationLifecycle
impl Sync for OperationLifecycle
impl Unpin for OperationLifecycle
impl UnsafeUnpin for OperationLifecycle
impl UnwindSafe for OperationLifecycle
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