Struct windows::System::Threading::ThreadPool
pub struct ThreadPool;
Implementations§
§impl ThreadPool
impl ThreadPool
pub fn RunAsync<P0>(handler: P0) -> Result<IAsyncAction>where
P0: Param<WorkItemHandler>,
pub fn RunWithPriorityAsync<P0>(
handler: P0,
priority: WorkItemPriority,
) -> Result<IAsyncAction>where
P0: Param<WorkItemHandler>,
pub fn RunWithPriorityAndOptionsAsync<P0>(
handler: P0,
priority: WorkItemPriority,
options: WorkItemOptions,
) -> Result<IAsyncAction>where
P0: Param<WorkItemHandler>,
Auto Trait Implementations§
impl Freeze for ThreadPool
impl RefUnwindSafe for ThreadPool
impl Send for ThreadPool
impl Sync for ThreadPool
impl Unpin for ThreadPool
impl UnwindSafe for ThreadPool
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more