pub fn finish<F, T>(self, service: F) -> FramedServiceImpl<St, C, T, Io, Codec>
    where
        F: IntoServiceFactory<T>,
        T: ServiceFactory<
                Config = St,
                Request = RequestItem<St, Codec>,
                Response = ResponseItem<Codec>,
                Error = C::Error,
                InitError = C::Error,
            > + 'static,
    {
        FramedServiceImpl {
            connect: self.connect,
            handler: Rc::new(service.into_factory()),
            disconnect: self.disconnect.clone(),
            _t: PhantomData,
        }
    }
/// Provide stream items handler service and construct service factory.
Provide stream items handler service and construct service factory.
Provide stream items handler service and construct service factory .
pub fn finish<F, T>(self, service: F) -> FramedServiceImpl<St, C, T, Io, Codec>
    where
        F: IntoServiceFactory<T>,
        T: ServiceFactory<
                Config = St,
                Request = RequestItem<St, Codec>,
                Response = ResponseItem<Codec>,
                Error = C::Error,
                InitError = C::Error,
            > + 'static,
    {
        FramedServiceImpl {
            connect: self.connect,
            handler: Rc::new(service.into_factory()),
            disconnect: self.disconnect.clone(),
            _t: PhantomData,
        }
    }
pub fn finish < F , T > ( self , service : F ) -> FramedServiceImpl < St , C , T , Io , Codec > where F : IntoServiceFactory < T > , T : ServiceFactory < Config = St , Request = RequestItem < St , Codec > , Response = ResponseItem < Codec > , Error = C :: Error , InitError = C :: Error , > + ' static , { FramedServiceImpl { connect : self . connect , handler : Rc :: new ( service . into_factory ( ) ) , disconnect : self . disconnect . clone ( ) , _t : PhantomData , } }
Provide stream items handler service and construct service factory.
Provide stream items handler service and construct service factory .
self
service
F