pub fn factory<Io, C, F>(self, connect: F) -> NewServiceBuilder<St, C, Io, Codec>
    where
        F: IntoServiceFactory<C>,
        Io: AsyncRead + AsyncWrite,
        C: ServiceFactory<
            Config = (),
            Request = Connect<Io>,
            Response = ConnectResult<Io, St, Codec>,
        >,
        C::Error: 'static,
        C::Future: 'static,
        Codec: Decoder + Encoder,
    {
        NewServiceBuilder {
            connect: connect.into_factory(),
            disconnect: None,
            _t: PhantomData,
        }
    }
/// Construct framed handler new service with specified connect service
Construct framed handler new service with specified connect service
Construct framed handler new service with specified connect service
pub fn factory<Io, C, F>(self, connect: F) -> NewServiceBuilder<St, C, Io, Codec>
    where
        F: IntoServiceFactory<C>,
        Io: AsyncRead + AsyncWrite,
        C: ServiceFactory<
            Config = (),
            Request = Connect<Io>,
            Response = ConnectResult<Io, St, Codec>,
        >,
        C::Error: 'static,
        C::Future: 'static,
        Codec: Decoder + Encoder,
    {
        NewServiceBuilder {
            connect: connect.into_factory(),
            disconnect: None,
            _t: PhantomData,
        }
    }
pub fn factory < Io , C , F > ( self , connect : F ) -> NewServiceBuilder < St , C , Io , Codec > where F : IntoServiceFactory < C > , Io : AsyncRead + AsyncWrite , C : ServiceFactory < Config = ( ) , Request = Connect < Io > , Response = ConnectResult < Io , St , Codec > , > , C :: Error : ' static , C :: Future : ' static , Codec : Decoder + Encoder , { NewServiceBuilder { connect : connect . into_factory ( ) , disconnect : None , _t : PhantomData , } }
Construct framed handler new service with specified connect service
Construct framed handler new service with specified connect service
self
connect
F