brotli::enc::threading

Trait Joinable

source
pub trait Joinable<T: Send + 'static, U: Send + 'static>: Sized {
    // Required method
    fn join(self) -> Result<T, U>;
}

Required Methods§

source

fn join(self) -> Result<T, U>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<ReturnValue: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, U: Send + 'static + Sync> Joinable<ReturnValue, BrotliEncoderThreadError> for WorkerJoinable<ReturnValue, ExtraInput, Alloc, U>

source§

impl<T: Send + 'static, U: Send + 'static + AnyBoxConstructor> Joinable<T, U> for MultiThreadedJoinable<T, U>

source§

impl<T: Send + 'static, U: Send + 'static> Joinable<T, U> for SingleThreadedJoinable<T, U>