Trait ICLRTask_Impl
pub trait ICLRTask_Impl: IUnknownImpl {
// Required methods
fn SwitchIn(&self, threadhandle: HANDLE) -> Result<()>;
fn SwitchOut(&self) -> Result<()>;
fn GetMemStats(&self) -> Result<COR_GC_THREAD_STATS>;
fn Reset(&self, ffull: BOOL) -> Result<()>;
fn ExitTask(&self) -> Result<()>;
fn Abort(&self) -> Result<()>;
fn RudeAbort(&self) -> Result<()>;
fn NeedsPriorityScheduling(&self) -> Result<BOOL>;
fn YieldTask(&self) -> Result<()>;
fn LocksHeld(&self) -> Result<usize>;
fn SetTaskIdentifier(&self, asked: u64) -> Result<()>;
}
Required Methods§
fn SwitchIn(&self, threadhandle: HANDLE) -> Result<()>
fn SwitchOut(&self) -> Result<()>
fn GetMemStats(&self) -> Result<COR_GC_THREAD_STATS>
fn Reset(&self, ffull: BOOL) -> Result<()>
fn ExitTask(&self) -> Result<()>
fn Abort(&self) -> Result<()>
fn RudeAbort(&self) -> Result<()>
fn NeedsPriorityScheduling(&self) -> Result<BOOL>
fn YieldTask(&self) -> Result<()>
fn LocksHeld(&self) -> Result<usize>
fn SetTaskIdentifier(&self, asked: u64) -> 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.