/// 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 build<F, T>(self, service: F) -> FramedServiceImpl<St, C, T, Io, Codec, Out>
    where
        F: IntoServiceFactory<T>,
        T: ServiceFactory<
            Config = St,
            Request = RequestItem<Codec>,
            Response = ResponseItem<Codec>,
            Error = C::Error,
            InitError = C::Error,
        >,
    {
        FramedServiceImpl {
            connect: self.connect,
            handler: Rc::new(service.into_factory()),
            _t: PhantomData,
        }
    }
pub fn build < F , T > ( self , service : F ) -> FramedServiceImpl < St , C , T , Io , Codec , Out > where F : IntoServiceFactory < T > , T : ServiceFactory < Config = St , Request = RequestItem < Codec > , Response = ResponseItem < Codec > , Error = C :: Error , InitError = C :: Error , > , { FramedServiceImpl { connect : self . connect , handler : Rc :: new ( service . into_factory ( ) ) , _t : PhantomData , } }
Provide stream items handler service and construct service factory.
Provide stream items handler service and construct service factory .
self
<not_specific>
service
F
<not_specific>