pub fn auto_finish(self) -> AutoFinishEncoder<W> {
        self.on_finish(|result| {
            result.unwrap();
        })
    }
/// Returns a wrapper around `self` that will finish the stream on drop.
///
/// # Panic
///
/// Panics on drop if an error happens when finishing the stream.
Returns a wrapper around `self` that will finish the stream on drop.
Returns a wrapper around ` self ` that will finish the stream on drop .
pub fn auto_finish(self) -> AutoFinishEncoder<W> {
        self.on_finish(|result| {
            result.unwrap();
        })
    }
pub fn auto_finish ( self ) -> AutoFinishEncoder < W > { self . on_finish ( | result | { result . unwrap ( ) ; } ) }
Returns a wrapper around `self` that will finish the stream on drop.
Returns a wrapper around ` self ` that will finish the stream on drop .
self
self
panic
Panics on drop if an error happens when finishing the stream.
Panics on drop if an error happens when finishing the stream .