pub trait IComStaThreadPoolKnobs_Impl: Sized {
// Required methods
fn SetMinThreadCount(&self, minthreads: u32) -> Result<()>;
fn GetMinThreadCount(&self) -> Result<u32>;
fn SetMaxThreadCount(&self, maxthreads: u32) -> Result<()>;
fn GetMaxThreadCount(&self) -> Result<u32>;
fn SetActivityPerThread(&self, activitiesperthread: u32) -> Result<()>;
fn GetActivityPerThread(&self) -> Result<u32>;
fn SetActivityRatio(&self, activityratio: f64) -> Result<()>;
fn GetActivityRatio(&self) -> Result<f64>;
fn GetThreadCount(&self) -> Result<u32>;
fn GetQueueDepth(&self) -> Result<u32>;
fn SetQueueDepth(&self, dwqdepth: i32) -> Result<()>;
}
Required Methods§
fn SetMinThreadCount(&self, minthreads: u32) -> Result<()>
fn GetMinThreadCount(&self) -> Result<u32>
fn SetMaxThreadCount(&self, maxthreads: u32) -> Result<()>
fn GetMaxThreadCount(&self) -> Result<u32>
fn SetActivityPerThread(&self, activitiesperthread: u32) -> Result<()>
fn GetActivityPerThread(&self) -> Result<u32>
fn SetActivityRatio(&self, activityratio: f64) -> Result<()>
fn GetActivityRatio(&self) -> Result<f64>
fn GetThreadCount(&self) -> Result<u32>
fn GetQueueDepth(&self) -> Result<u32>
fn SetQueueDepth(&self, dwqdepth: i32) -> Result<()>
Object Safety§
This trait is not object safe.