[−][src]Struct brotli::enc::reader::CompressorReaderCustomAlloc
Methods
impl<R: Read, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> CompressorReaderCustomAlloc<R, BufferType, Alloc>
[src]
pub fn new(r: R, buffer: BufferType, alloc: Alloc, q: u32, lgwin: u32) -> Self
[src]
pub fn get_ref(&self) -> &R
[src]
pub fn into_inner(self) -> R
[src]
Trait Implementations
impl<R: Read, BufferType: SliceWrapperMut<u8>, Alloc: BrotliAlloc> Read for CompressorReaderCustomAlloc<R, BufferType, Alloc>
[src]
fn read(&mut self, buf: &mut [u8]) -> Result<usize, Error>
[src]
fn read_vectored(&mut self, bufs: &mut [IoSliceMut]) -> Result<usize, Error>
1.36.0[src]
unsafe fn initializer(&self) -> Initializer
[src]
fn read_to_end(&mut self, buf: &mut Vec<u8>) -> Result<usize, Error>
1.0.0[src]
fn read_to_string(&mut self, buf: &mut String) -> Result<usize, Error>
1.0.0[src]
fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), Error>
1.6.0[src]
fn by_ref(&mut self) -> &mut Self
1.0.0[src]
fn bytes(self) -> Bytes<Self>
1.0.0[src]
fn chain<R>(self, next: R) -> Chain<Self, R> where
R: Read,
1.0.0[src]
R: Read,
fn take(self, limit: u64) -> Take<Self>
1.0.0[src]
Auto Trait Implementations
impl<R, BufferType, Alloc> !RefUnwindSafe for CompressorReaderCustomAlloc<R, BufferType, Alloc>
impl<R, BufferType, Alloc> Send for CompressorReaderCustomAlloc<R, BufferType, Alloc> where
Alloc: Send,
BufferType: Send,
R: 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,
R: 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<R, BufferType, Alloc> Sync for CompressorReaderCustomAlloc<R, BufferType, Alloc> where
Alloc: Sync,
BufferType: Sync,
R: 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,
R: 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<R, BufferType, Alloc> Unpin for CompressorReaderCustomAlloc<R, BufferType, Alloc> where
Alloc: Unpin,
BufferType: Unpin,
R: 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,
R: 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<R, BufferType, Alloc> !UnwindSafe for CompressorReaderCustomAlloc<R, BufferType, Alloc>
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>,