pub struct BzDecoder { /* private fields */ }
Available on crate feature
bzip2
only.Implementations§
Trait Implementations§
Source§impl Decode for BzDecoder
impl Decode for BzDecoder
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 BzDecoder
impl RefUnwindSafe for BzDecoder
impl Send for BzDecoder
impl Sync for BzDecoder
impl Unpin for BzDecoder
impl UnwindSafe for BzDecoder
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