Trait IComStaThreadPoolKnobs_Impl
pub trait IComStaThreadPoolKnobs_Impl: IUnknownImpl {
// 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<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.