[][src]Struct brotli::enc::threading::SendAlloc

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
;

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]

pub fn new(alloc: Alloc, extra_input: ExtraInput) -> Self[src]

pub fn unwrap_or(
    self,
    other: Alloc,
    other_extra: ExtraInput
) -> (Alloc, ExtraInput)
[src]

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.