pub struct SendAlloc<ReturnValue: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnValue, BrotliEncoderThreadError>>(pub InternalSendAlloc<ReturnValue, ExtraInput, Alloc, Join>)
where
<Alloc as Allocator<u8>>::AllocatedMemory: Send;
Tuple Fields§
§0: InternalSendAlloc<ReturnValue, ExtraInput, Alloc, Join>
Implementations§
source§impl<ReturnValue: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnValue, BrotliEncoderThreadError>> SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
impl<ReturnValue: Send + 'static, ExtraInput: Send + 'static, Alloc: BrotliAlloc + Send + 'static, Join: Joinable<ReturnValue, BrotliEncoderThreadError>> SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where <Alloc as Allocator<u8>>::AllocatedMemory: Send,
pub fn new(alloc: Alloc, extra_input: ExtraInput) -> Self
pub fn unwrap_or( self, other: Alloc, other_extra: ExtraInput ) -> (Alloc, ExtraInput)
pub fn unwrap(self) -> (Alloc, ExtraInput)
pub fn replace_with_default(&mut self) -> (Alloc, ExtraInput)
Auto Trait Implementations§
impl<ReturnValue, ExtraInput, Alloc, Join> RefUnwindSafe for SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where Alloc: RefUnwindSafe, ExtraInput: RefUnwindSafe, Join: RefUnwindSafe, ReturnValue: RefUnwindSafe,
impl<ReturnValue, ExtraInput, Alloc, Join> Send for SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where Join: Send,
impl<ReturnValue, ExtraInput, Alloc, Join> Sync for SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where Alloc: Sync, ExtraInput: Sync, Join: Sync, ReturnValue: Sync,
impl<ReturnValue, ExtraInput, Alloc, Join> Unpin for SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where Alloc: Unpin, ExtraInput: Unpin, Join: Unpin, ReturnValue: Unpin,
impl<ReturnValue, ExtraInput, Alloc, Join> UnwindSafe for SendAlloc<ReturnValue, ExtraInput, Alloc, Join>where Alloc: UnwindSafe, ExtraInput: UnwindSafe, Join: UnwindSafe, ReturnValue: UnwindSafe,
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