pub enum InternalSendAlloc<ReturnVal: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnVal, BrotliEncoderThreadError>> where
<Alloc as Allocator<u8>>::AllocatedMemory: Send, {
A(Alloc, ExtraInput),
Join(Join),
SpawningOrJoining(PhantomData<ReturnVal>),
}
Variants
A(Alloc, ExtraInput)
Join(Join)
SpawningOrJoining(PhantomData<ReturnVal>)
Auto Trait Implementations
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> where
Alloc: Sync,
ExtraInput: Sync,
Join: Sync,
ReturnVal: Sync,
impl<ReturnVal, ExtraInput, Alloc, Join> Unpin for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join> where
Alloc: Unpin,
ExtraInput: Unpin,
Join: Unpin,
ReturnVal: Unpin,
impl<ReturnVal, ExtraInput, Alloc, Join> UnwindSafe for InternalSendAlloc<ReturnVal, ExtraInput, Alloc, Join> where
Alloc: UnwindSafe,
ExtraInput: UnwindSafe,
Join: UnwindSafe,
ReturnVal: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more