Trait IHostThreadpoolManager_Impl
pub trait IHostThreadpoolManager_Impl: IUnknownImpl {
// Required methods
fn QueueUserWorkItem(
&self,
function: LPTHREAD_START_ROUTINE,
context: *const c_void,
flags: u32,
) -> Result<()>;
fn SetMaxThreads(&self, dwmaxworkerthreads: u32) -> Result<()>;
fn GetMaxThreads(&self) -> Result<u32>;
fn GetAvailableThreads(&self) -> Result<u32>;
fn SetMinThreads(&self, dwminiocompletionthreads: u32) -> Result<()>;
fn GetMinThreads(&self) -> Result<u32>;
}
Required Methods§
fn QueueUserWorkItem( &self, function: LPTHREAD_START_ROUTINE, context: *const c_void, flags: u32, ) -> Result<()>
fn SetMaxThreads(&self, dwmaxworkerthreads: u32) -> Result<()>
fn GetMaxThreads(&self) -> Result<u32>
fn GetAvailableThreads(&self) -> Result<u32>
fn SetMinThreads(&self, dwminiocompletionthreads: u32) -> Result<()>
fn GetMinThreads(&self) -> Result<u32>
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.