pub enum WorkloadPhase {
Warmup,
SteadyState,
Burst,
Cooldown,
Custom(&'static str),
}Expand description
Workload phase for envelope conditioning.
Variants§
Warmup
System is warming up (caches cold, connections establishing).
SteadyState
Normal operating conditions.
Burst
High-load burst (e.g., traffic spike, batch job).
Cooldown
System is draining or shutting down.
Custom(&'static str)
Custom phase with a static label.
Trait Implementations§
Source§impl Clone for WorkloadPhase
impl Clone for WorkloadPhase
Source§fn clone(&self) -> WorkloadPhase
fn clone(&self) -> WorkloadPhase
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 Debug for WorkloadPhase
impl Debug for WorkloadPhase
Source§impl Hash for WorkloadPhase
impl Hash for WorkloadPhase
Source§impl PartialEq for WorkloadPhase
impl PartialEq for WorkloadPhase
impl Copy for WorkloadPhase
impl Eq for WorkloadPhase
impl StructuralPartialEq for WorkloadPhase
Auto Trait Implementations§
impl Freeze for WorkloadPhase
impl RefUnwindSafe for WorkloadPhase
impl Send for WorkloadPhase
impl Sync for WorkloadPhase
impl Unpin for WorkloadPhase
impl UnsafeUnpin for WorkloadPhase
impl UnwindSafe for WorkloadPhase
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