[−][src]Struct brotli::enc::threading::SendAlloc
Methods
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,
[src]
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
pub fn new(alloc: Alloc, extra_input: ExtraInput) -> Self
[src]
pub fn unwrap_or(
self,
other: Alloc,
other_extra: ExtraInput
) -> (Alloc, ExtraInput)
[src]
self,
other: Alloc,
other_extra: ExtraInput
) -> (Alloc, ExtraInput)
pub fn unwrap(self) -> (Alloc, ExtraInput)
[src]
pub fn replace_with_default(&mut self) -> (Alloc, ExtraInput)
[src]
Auto Trait Implementations
impl<ReturnValue, ExtraInput, Alloc, Join> RefUnwindSafe for SendAlloc<ReturnValue, ExtraInput, Alloc, Join> where
Alloc: RefUnwindSafe,
ExtraInput: RefUnwindSafe,
Join: RefUnwindSafe,
ReturnValue: RefUnwindSafe,
Alloc: RefUnwindSafe,
ExtraInput: RefUnwindSafe,
Join: RefUnwindSafe,
ReturnValue: RefUnwindSafe,
impl<ReturnValue, ExtraInput, Alloc, Join> Send for SendAlloc<ReturnValue, ExtraInput, Alloc, Join> where
Join: Send,
Join: Send,
impl<ReturnValue, ExtraInput, Alloc, Join> Sync for SendAlloc<ReturnValue, ExtraInput, Alloc, Join> where
Alloc: Sync,
ExtraInput: Sync,
Join: Sync,
ReturnValue: Sync,
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,
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,
Alloc: UnwindSafe,
ExtraInput: UnwindSafe,
Join: UnwindSafe,
ReturnValue: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,