pub enum ColdStart {
Measured(i64),
Held(String),
NotMeasured,
}Expand description
What the cold run measured, or why it did not.
Variants§
Measured(i64)
The model was cleared from memory first, and this is the first token that followed: what a caller waits for on a cold machine.
Held(String)
It could not be cleared, so nothing here was cold. Carries who held it.
NotMeasured
Residency was left alone, so no cold run was made.
Implementations§
Trait Implementations§
impl Eq for ColdStart
impl StructuralPartialEq for ColdStart
Auto Trait Implementations§
impl Freeze for ColdStart
impl RefUnwindSafe for ColdStart
impl Send for ColdStart
impl Sync for ColdStart
impl Unpin for ColdStart
impl UnsafeUnpin for ColdStart
impl UnwindSafe for ColdStart
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