Trait windows::Win32::System::ClrHosting::IGCHost_Impl

pub trait IGCHost_Impl: Sized {
    // Required methods
    fn SetGCStartupLimits(
        &self,
        segmentsize: u32,
        maxgen0size: u32,
    ) -> Result<()>;
    fn Collect(&self, generation: i32) -> Result<()>;
    fn GetStats(&self, pstats: *mut COR_GC_STATS) -> Result<()>;
    fn GetThreadStats(
        &self,
        pfibercookie: *const u32,
        pstats: *mut COR_GC_THREAD_STATS,
    ) -> Result<()>;
    fn SetVirtualMemLimit(&self, sztmaxvirtualmemmb: usize) -> Result<()>;
}

Required Methods§

fn SetGCStartupLimits(&self, segmentsize: u32, maxgen0size: u32) -> Result<()>

fn Collect(&self, generation: i32) -> Result<()>

fn GetStats(&self, pstats: *mut COR_GC_STATS) -> Result<()>

fn GetThreadStats( &self, pfibercookie: *const u32, pstats: *mut COR_GC_THREAD_STATS, ) -> Result<()>

fn SetVirtualMemLimit(&self, sztmaxvirtualmemmb: usize) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§