windows::Win32::System::ClrHosting

Trait IHostCrst_Impl

pub trait IHostCrst_Impl: IUnknownImpl {
    // Required methods
    fn Enter(&self, option: u32) -> Result<()>;
    fn Leave(&self) -> Result<()>;
    fn TryEnter(&self, option: u32) -> Result<BOOL>;
    fn SetSpinCount(&self, dwspincount: u32) -> Result<()>;
}

Required Methods§

fn Enter(&self, option: u32) -> Result<()>

fn Leave(&self) -> Result<()>

fn TryEnter(&self, option: u32) -> Result<BOOL>

fn SetSpinCount(&self, dwspincount: u32) -> 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.

Implementors§