pub struct CpuPrediction {
pub cpu: u64,
pub basis: Basis,
}Expand description
The CPU a runner reserves for a job, in millicores, at most its profile’s cpus, and what it goes by.
Fields§
§cpu: u64Millicores.
basis: BasisWhy that much: Basis::Job, Profile, ProfileMax or Cap.
Trait Implementations§
Source§impl Clone for CpuPrediction
impl Clone for CpuPrediction
impl Copy for CpuPrediction
Source§impl Debug for CpuPrediction
impl Debug for CpuPrediction
impl Eq for CpuPrediction
Source§impl PartialEq for CpuPrediction
impl PartialEq for CpuPrediction
impl StructuralPartialEq for CpuPrediction
Auto Trait Implementations§
impl Freeze for CpuPrediction
impl RefUnwindSafe for CpuPrediction
impl Send for CpuPrediction
impl Sync for CpuPrediction
impl Unpin for CpuPrediction
impl UnsafeUnpin for CpuPrediction
impl UnwindSafe for CpuPrediction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.