pub struct PoolProfile {
pub shape: PoolShape,
pub workers: Vec<WorkerTiers>,
pub families: Vec<String>,
pub recommend_eval_key: bool,
}Expand description
The profiled pool.
Fields§
§shape: PoolShape§workers: Vec<WorkerTiers>§families: Vec<String>Distinct vendor families present (excluding unknown).
recommend_eval_key: boolA single-family pool loses evaluator independence; recommend a cheap second-family key for the evaluator role.
Implementations§
Source§impl PoolProfile
impl PoolProfile
pub fn is_single_family(&self) -> bool
Trait Implementations§
Source§impl Clone for PoolProfile
impl Clone for PoolProfile
Source§fn clone(&self) -> PoolProfile
fn clone(&self) -> PoolProfile
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 moreAuto Trait Implementations§
impl Forget for PoolProfile
impl Freeze for PoolProfile
impl Move for PoolProfile
impl RefUnwindSafe for PoolProfile
impl Send for PoolProfile
impl Sync for PoolProfile
impl Unpin for PoolProfile
impl UnsafeUnpin for PoolProfile
impl UnwindSafe for PoolProfile
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