pub trait IThreadPoolKnobs_Impl: Sized {
    // Required methods
    fn GetMaxThreads(&self, plcmaxthreads: *mut i32) -> Result<()>;
    fn GetCurrentThreads(&self, plccurrentthreads: *mut i32) -> Result<()>;
    fn SetMaxThreads(&self, lcmaxthreads: i32) -> Result<()>;
    fn GetDeleteDelay(&self, pmsecdeletedelay: *mut i32) -> Result<()>;
    fn SetDeleteDelay(&self, msecdeletedelay: i32) -> Result<()>;
    fn GetMaxQueuedRequests(&self, plcmaxqueuedrequests: *mut i32) -> Result<()>;
    fn GetCurrentQueuedRequests(
        &self,
        plccurrentqueuedrequests: *mut i32,
    ) -> Result<()>;
    fn SetMaxQueuedRequests(&self, lcmaxqueuedrequests: i32) -> Result<()>;
    fn SetMinThreads(&self, lcminthreads: i32) -> Result<()>;
    fn SetQueueDepth(&self, lcqueuedepth: i32) -> Result<()>;
}

Required Methods§

fn GetMaxThreads(&self, plcmaxthreads: *mut i32) -> Result<()>

fn GetCurrentThreads(&self, plccurrentthreads: *mut i32) -> Result<()>

fn SetMaxThreads(&self, lcmaxthreads: i32) -> Result<()>

fn GetDeleteDelay(&self, pmsecdeletedelay: *mut i32) -> Result<()>

fn SetDeleteDelay(&self, msecdeletedelay: i32) -> Result<()>

fn GetMaxQueuedRequests(&self, plcmaxqueuedrequests: *mut i32) -> Result<()>

fn GetCurrentQueuedRequests( &self, plccurrentqueuedrequests: *mut i32, ) -> Result<()>

fn SetMaxQueuedRequests(&self, lcmaxqueuedrequests: i32) -> Result<()>

fn SetMinThreads(&self, lcminthreads: i32) -> Result<()>

fn SetQueueDepth(&self, lcqueuedepth: i32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§