pub fn try_into_parts(self) -> Option<Parts<I, S>> {
        match self.conn.unwrap() {
            ProtoServer::H1(h1) => {
                let (io, read_buf, dispatch) = h1.into_inner();
                Some(Parts {
                    io,
                    read_buf,
                    service: dispatch.into_service(),
                    _inner: (),
                })
            }
            ProtoServer::H2(_h2) => None,
        }
    }
/// Return the inner IO object, and additional information, if available.
///
/// This method will return a `None` if this connection is using an h2 protocol.
Return the inner IO object, and additional information, if available.
This method will return a `None` if this connection is using an h2 protocol.
Return the inner IO object and additional information if available . This method will return a ` None ` if this connection is using an h2 protocol .
pub fn try_into_parts(self) -> Option<Parts<I, S>> {
        match self.conn.unwrap() {
            ProtoServer::H1(h1) => {
                let (io, read_buf, dispatch) = h1.into_inner();
                Some(Parts {
                    io,
                    read_buf,
                    service: dispatch.into_service(),
                    _inner: (),
                })
            }
            ProtoServer::H2(_h2) => None,
        }
    }
pub fn try_into_parts ( self ) -> Option < Parts < I , S > > { match self . conn . unwrap ( ) { ProtoServer :: H1 ( h1 ) => { let ( io , read_buf , dispatch ) = h1 . into_inner ( ) ; Some ( Parts { io , read_buf , service : dispatch . into_service ( ) , _inner : ( ) , } ) } ProtoServer :: H2 ( _h2 ) => None , } }
Return the inner IO object, and additional information, if available.
Return the inner IO object and additional information if available .
self
self