Enum brotli::enc::threading::InternalSendAlloc
source · pub enum InternalSendAlloc<ReturnVal: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnVal, BrotliEncoderThreadError>>{
A(Alloc, ExtraInput),
Join(Join),
SpawningOrJoining(PhantomData<ReturnVal>),
}
Variants§
Implementations§
source§impl<ReturnVal: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnVal, BrotliEncoderThreadError>> InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
impl<ReturnVal: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnVal, BrotliEncoderThreadError>> InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
fn unwrap_input(&mut self) -> (&mut Alloc, &mut ExtraInput)
Auto Trait Implementations§
impl<ReturnVal, ExtraInput, Alloc, Join> Freeze for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
impl<ReturnVal, ExtraInput, Alloc, Join> RefUnwindSafe for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>where
Alloc: RefUnwindSafe,
ExtraInput: RefUnwindSafe,
Join: RefUnwindSafe,
ReturnVal: RefUnwindSafe,
impl<ReturnVal, ExtraInput, Alloc, Join> Send for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>where
Join: Send,
impl<ReturnVal, ExtraInput, Alloc, Join> Sync for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
impl<ReturnVal, ExtraInput, Alloc, Join> Unpin for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
impl<ReturnVal, ExtraInput, Alloc, Join> UnwindSafe for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join>
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