pub fn into_inner(self) -> Result<S, IntoInnerError<BufStream<S>>> {
        let BufReader { inner: InternalBufWriter(w), buf, pos, cap } = self.inner;
        w.into_inner().map_err(|IntoInnerError(w, e)| {
            IntoInnerError(BufStream {
                inner: BufReader { inner: InternalBufWriter(w), buf: buf, pos: pos, cap: cap },
            }, e)
        })
    }
/// Unwraps this `BufStream`, returning the underlying stream.
///
/// The internal write buffer is written out before returning the stream.
/// Any leftover data in the read buffer is lost.
Unwraps this `BufStream`, returning the underlying stream.
The internal write buffer is written out before returning the stream.
Any leftover data in the read buffer is lost.
Unwraps this ` BufStream ` returning the underlying stream . The internal write buffer is written out before returning the stream . Any leftover data in the read buffer is lost .
pub fn into_inner(self) -> Result<S, IntoInnerError<BufStream<S>>> {
        let BufReader { inner: InternalBufWriter(w), buf, pos, cap } = self.inner;
        w.into_inner().map_err(|IntoInnerError(w, e)| {
            IntoInnerError(BufStream {
                inner: BufReader { inner: InternalBufWriter(w), buf: buf, pos: pos, cap: cap },
            }, e)
        })
    }
pub fn into_inner ( self ) -> Result < S , IntoInnerError < BufStream < S > > > { let BufReader { inner : InternalBufWriter ( w ) , buf , pos , cap } = self . inner ; w . into_inner ( ) . map_err ( | IntoInnerError ( w , e ) | { IntoInnerError ( BufStream { inner : BufReader { inner : InternalBufWriter ( w ) , buf : buf , pos : pos , cap : cap } , } , e ) } ) }
Unwraps this `BufStream`, returning the underlying stream.
Unwraps this ` BufStream ` returning the underlying stream .
self