Trait workpool::WaitHandle

source ·
pub trait WaitHandle: Clone {
    type Output;

    // Required method
    fn wait(&self) -> &Self::Output;
}
Expand description

WaitHandle provides a handle to wait for the reduced output value.

Required Associated Types§

Required Methods§

source

fn wait(&self) -> &Self::Output

Implementors§

source§

impl<O> WaitHandle for workpool::dynamic_pool::WaitHandle<O>

§

type Output = O

source§

impl<O> WaitHandle for workpool::static_pool::WaitHandle<O>

§

type Output = O