Struct sentry::SingleWorker [] [src]

pub struct SingleWorker<T: 'static + Send, P: Clone + Send> {
    // some fields omitted
}

Methods

impl<T: 'static + Debug + Send, P: 'static + Clone + Send> SingleWorker<T, P>
[src]

fn new(parameters: P, f: Box<WorkerClosure<T, P, Output=()>>) -> SingleWorker<T, P>

fn work_with(&self, msg: T)