Struct async_compression::codec::zlib::decoder::ZlibDecoder
source · pub struct ZlibDecoder {
inner: FlateDecoder,
}
Fields§
§inner: FlateDecoder
Implementations§
source§impl ZlibDecoder
impl ZlibDecoder
Trait Implementations§
source§impl Debug for ZlibDecoder
impl Debug for ZlibDecoder
source§impl Decode for ZlibDecoder
impl Decode for ZlibDecoder
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 ZlibDecoder
impl RefUnwindSafe for ZlibDecoder
impl Send for ZlibDecoder
impl Sync for ZlibDecoder
impl Unpin for ZlibDecoder
impl UnwindSafe for ZlibDecoder
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