Trait IComStaThreadPoolKnobs2_Impl
pub trait IComStaThreadPoolKnobs2_Impl: IComStaThreadPoolKnobs_Impl {
// Required methods
fn GetMaxCPULoad(&self) -> Result<u32>;
fn SetMaxCPULoad(&self, pdwload: i32) -> Result<()>;
fn GetCPUMetricEnabled(&self) -> Result<BOOL>;
fn SetCPUMetricEnabled(&self, bmetricenabled: BOOL) -> Result<()>;
fn GetCreateThreadsAggressively(&self) -> Result<BOOL>;
fn SetCreateThreadsAggressively(&self, bmetricenabled: BOOL) -> Result<()>;
fn GetMaxCSR(&self) -> Result<u32>;
fn SetMaxCSR(&self, dwcsr: i32) -> Result<()>;
fn GetWaitTimeForThreadCleanup(&self) -> Result<u32>;
fn SetWaitTimeForThreadCleanup(
&self,
dwthreadcleanupwaittime: i32,
) -> Result<()>;
}
Required Methods§
fn GetMaxCPULoad(&self) -> Result<u32>
fn SetMaxCPULoad(&self, pdwload: i32) -> Result<()>
fn GetCPUMetricEnabled(&self) -> Result<BOOL>
fn SetCPUMetricEnabled(&self, bmetricenabled: BOOL) -> Result<()>
fn GetCreateThreadsAggressively(&self) -> Result<BOOL>
fn SetCreateThreadsAggressively(&self, bmetricenabled: BOOL) -> Result<()>
fn GetMaxCSR(&self) -> Result<u32>
fn SetMaxCSR(&self, dwcsr: i32) -> Result<()>
fn GetWaitTimeForThreadCleanup(&self) -> Result<u32>
fn SetWaitTimeForThreadCleanup( &self, dwthreadcleanupwaittime: 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.