Struct async_compression::codec::flate::decoder::FlateDecoder
source · pub struct FlateDecoder {
zlib_header: bool,
decompress: Decompress,
}
Fields§
§zlib_header: bool
§decompress: Decompress
Implementations§
source§impl FlateDecoder
impl FlateDecoder
Trait Implementations§
source§impl Debug for FlateDecoder
impl Debug for FlateDecoder
source§impl Decode for FlateDecoder
impl Decode for FlateDecoder
source§fn reinit(&mut self) -> Result<()>
fn reinit(&mut self) -> Result<()>
Reinitializes this decoder ready to decode a new member/frame of data.
source§fn decode(
&mut self,
input: &mut PartialBuffer<impl AsRef<[u8]>>,
output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>,
) -> Result<bool>
fn decode( &mut self, input: &mut PartialBuffer<impl AsRef<[u8]>>, output: &mut PartialBuffer<impl AsRef<[u8]> + AsMut<[u8]>>, ) -> Result<bool>
Returns whether the end of the stream has been read
Auto Trait Implementations§
impl Freeze for FlateDecoder
impl RefUnwindSafe for FlateDecoder
impl Send for FlateDecoder
impl Sync for FlateDecoder
impl Unpin for FlateDecoder
impl UnwindSafe for FlateDecoder
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