pub struct IntoPartsError<R: Read>(/* private fields */);Expand description
Decompressor::into_parts before the stream ended and all of its output
was read. into_inner returns the decompressor, which
keeps reading where it left off.
Implementations§
Source§impl<R: Read> IntoPartsError<R>
impl<R: Read> IntoPartsError<R>
Sourcepub fn into_inner(self) -> Decompressor<R> ⓘ
pub fn into_inner(self) -> Decompressor<R> ⓘ
The decompressor, unchanged.
Trait Implementations§
Source§impl<R: Read> Debug for IntoPartsError<R>
impl<R: Read> Debug for IntoPartsError<R>
Source§impl<R: Read> Display for IntoPartsError<R>
impl<R: Read> Display for IntoPartsError<R>
Source§impl<R: Read> Error for IntoPartsError<R>
impl<R: Read> Error for IntoPartsError<R>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<R> !RefUnwindSafe for IntoPartsError<R>
impl<R> !Send for IntoPartsError<R>
impl<R> !Sync for IntoPartsError<R>
impl<R> !UnwindSafe for IntoPartsError<R>
impl<R> Forget for IntoPartsError<R>
impl<R> Freeze for IntoPartsError<R>where
Decompressor<R>: Freeze,
impl<R> Move for IntoPartsError<R>
impl<R> Unpin for IntoPartsError<R>where
Decompressor<R>: Unpin,
impl<R> UnsafeUnpin for IntoPartsError<R>where
Decompressor<R>: UnsafeUnpin,
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