pub fn finish(mut self) -> Option<Frame> {
        self.state
            .take()
            .map(|mut state| state.frame.take())
            .unwrap_or(None)
    }
/// Consumes the instance and outputs last maybe
/// incomplete frame.
Consumes the instance and outputs last maybe
incomplete frame.
Consumes the instance and outputs last maybe incomplete frame .
pub fn finish(mut self) -> Option<Frame> {
        self.state
            .take()
            .map(|mut state| state.frame.take())
            .unwrap_or(None)
    }
pub fn finish ( mut self ) -> Option < Frame > { self . state . take ( ) . map ( | mut state | state . frame . take ( ) ) . unwrap_or ( None ) }
Consumes the instance and outputs last maybe
incomplete frame.
Consumes the instance and outputs last maybe incomplete frame .
mut self
mut self