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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so 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>