Trait IHostIoCompletionManager_Impl
pub trait IHostIoCompletionManager_Impl: IUnknownImpl {
// Required methods
fn CreateIoCompletionPort(&self) -> Result<HANDLE>;
fn CloseIoCompletionPort(&self, hport: HANDLE) -> Result<()>;
fn SetMaxThreads(&self, dwmaxiocompletionthreads: u32) -> Result<()>;
fn GetMaxThreads(&self) -> Result<u32>;
fn GetAvailableThreads(&self) -> Result<u32>;
fn GetHostOverlappedSize(&self) -> Result<u32>;
fn SetCLRIoCompletionManager(
&self,
pmanager: Ref<'_, ICLRIoCompletionManager>,
) -> Result<()>;
fn InitializeHostOverlapped(
&self,
pvoverlapped: *const c_void,
) -> Result<()>;
fn Bind(&self, hport: HANDLE, hhandle: HANDLE) -> Result<()>;
fn SetMinThreads(&self, dwminiocompletionthreads: u32) -> Result<()>;
fn GetMinThreads(&self) -> Result<u32>;
}
Required Methods§
fn CreateIoCompletionPort(&self) -> Result<HANDLE>
fn CloseIoCompletionPort(&self, hport: HANDLE) -> Result<()>
fn SetMaxThreads(&self, dwmaxiocompletionthreads: u32) -> Result<()>
fn GetMaxThreads(&self) -> Result<u32>
fn GetAvailableThreads(&self) -> Result<u32>
fn GetHostOverlappedSize(&self) -> Result<u32>
fn SetCLRIoCompletionManager( &self, pmanager: Ref<'_, ICLRIoCompletionManager>, ) -> Result<()>
fn InitializeHostOverlapped(&self, pvoverlapped: *const c_void) -> Result<()>
fn Bind(&self, hport: HANDLE, hhandle: HANDLE) -> Result<()>
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.