[−][src]Struct brotli::enc::writer::CompressorWriterCustomIo
Implementations
impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>
[src]
pub fn new(
w: W,
buffer: BufferType,
alloc: Alloc,
invalid_data_error_type: ErrType,
q: u32,
lgwin: u32
) -> Self
[src]
w: W,
buffer: BufferType,
alloc: Alloc,
invalid_data_error_type: ErrType,
q: u32,
lgwin: u32
) -> Self
pub fn get_ref(&self) -> &W
[src]
pub fn into_inner(self) -> W
[src]
Trait Implementations
impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CustomWrite<ErrType> for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>
[src]
fn write(&mut self, buf: &[u8]) -> Result<usize, ErrType>
[src]
fn flush(&mut self) -> Result<(), ErrType>
[src]
impl<ErrType, W: CustomWrite<ErrType>, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> Drop for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc>
[src]
Auto Trait Implementations
impl<ErrType, W, BufferType, Alloc> RefUnwindSafe for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
Alloc: RefUnwindSafe,
BufferType: RefUnwindSafe,
ErrType: RefUnwindSafe,
W: RefUnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: RefUnwindSafe,
Alloc: RefUnwindSafe,
BufferType: RefUnwindSafe,
ErrType: RefUnwindSafe,
W: RefUnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: RefUnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: RefUnwindSafe,
impl<ErrType, W, BufferType, Alloc> Send for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
Alloc: Send,
BufferType: Send,
ErrType: Send,
W: Send,
<Alloc as Allocator<i32>>::AllocatedMemory: Send,
<Alloc as Allocator<u16>>::AllocatedMemory: Send,
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
<Alloc as Allocator<Command>>::AllocatedMemory: Send,
Alloc: Send,
BufferType: Send,
ErrType: Send,
W: Send,
<Alloc as Allocator<i32>>::AllocatedMemory: Send,
<Alloc as Allocator<u16>>::AllocatedMemory: Send,
<Alloc as Allocator<u32>>::AllocatedMemory: Send,
<Alloc as Allocator<u8>>::AllocatedMemory: Send,
<Alloc as Allocator<Command>>::AllocatedMemory: Send,
impl<ErrType, W, BufferType, Alloc> Sync for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
Alloc: Sync,
BufferType: Sync,
ErrType: Sync,
W: Sync,
<Alloc as Allocator<i32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u16>>::AllocatedMemory: Sync,
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u8>>::AllocatedMemory: Sync,
<Alloc as Allocator<Command>>::AllocatedMemory: Sync,
Alloc: Sync,
BufferType: Sync,
ErrType: Sync,
W: Sync,
<Alloc as Allocator<i32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u16>>::AllocatedMemory: Sync,
<Alloc as Allocator<u32>>::AllocatedMemory: Sync,
<Alloc as Allocator<u8>>::AllocatedMemory: Sync,
<Alloc as Allocator<Command>>::AllocatedMemory: Sync,
impl<ErrType, W, BufferType, Alloc> Unpin for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
Alloc: Unpin,
BufferType: Unpin,
ErrType: Unpin,
W: Unpin,
<Alloc as Allocator<i32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
<Alloc as Allocator<Command>>::AllocatedMemory: Unpin,
Alloc: Unpin,
BufferType: Unpin,
ErrType: Unpin,
W: Unpin,
<Alloc as Allocator<i32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u16>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u32>>::AllocatedMemory: Unpin,
<Alloc as Allocator<u8>>::AllocatedMemory: Unpin,
<Alloc as Allocator<Command>>::AllocatedMemory: Unpin,
impl<ErrType, W, BufferType, Alloc> UnwindSafe for CompressorWriterCustomIo<ErrType, W, BufferType, Alloc> where
Alloc: UnwindSafe,
BufferType: UnwindSafe,
ErrType: UnwindSafe,
W: UnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: UnwindSafe,
Alloc: UnwindSafe,
BufferType: UnwindSafe,
ErrType: UnwindSafe,
W: UnwindSafe,
<Alloc as Allocator<i32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u16>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u32>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<u8>>::AllocatedMemory: UnwindSafe,
<Alloc as Allocator<Command>>::AllocatedMemory: 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>,