windows::Win32::System::ClrHosting

Trait IHostSyncManager_Impl

pub trait IHostSyncManager_Impl: IUnknownImpl {
    // Required methods
    fn SetCLRSyncManager(
        &self,
        pmanager: Ref<'_, ICLRSyncManager>,
    ) -> Result<()>;
    fn CreateCrst(&self) -> Result<IHostCrst>;
    fn CreateCrstWithSpinCount(&self, dwspincount: u32) -> Result<IHostCrst>;
    fn CreateAutoEvent(&self) -> Result<IHostAutoEvent>;
    fn CreateManualEvent(&self, binitialstate: BOOL) -> Result<IHostManualEvent>;
    fn CreateMonitorEvent(&self, cookie: usize) -> Result<IHostAutoEvent>;
    fn CreateRWLockWriterEvent(&self, cookie: usize) -> Result<IHostAutoEvent>;
    fn CreateRWLockReaderEvent(
        &self,
        binitialstate: BOOL,
        cookie: usize,
    ) -> Result<IHostManualEvent>;
    fn CreateSemaphoreA(
        &self,
        dwinitial: u32,
        dwmax: u32,
    ) -> Result<IHostSemaphore>;
}

Required Methods§

fn SetCLRSyncManager(&self, pmanager: Ref<'_, ICLRSyncManager>) -> Result<()>

fn CreateCrst(&self) -> Result<IHostCrst>

fn CreateCrstWithSpinCount(&self, dwspincount: u32) -> Result<IHostCrst>

fn CreateAutoEvent(&self) -> Result<IHostAutoEvent>

fn CreateManualEvent(&self, binitialstate: BOOL) -> Result<IHostManualEvent>

fn CreateMonitorEvent(&self, cookie: usize) -> Result<IHostAutoEvent>

fn CreateRWLockWriterEvent(&self, cookie: usize) -> Result<IHostAutoEvent>

fn CreateRWLockReaderEvent( &self, binitialstate: BOOL, cookie: usize, ) -> Result<IHostManualEvent>

fn CreateSemaphoreA(&self, dwinitial: u32, dwmax: u32) -> Result<IHostSemaphore>

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.

Implementors§