pub fn new<F>(connect: F) -> FactoryBuilder<St, C, Io, Codec, Out>
    where
        F: IntoServiceFactory<C>,
        Io: AsyncRead + AsyncWrite,
        C: ServiceFactory<
            Config = (),
            Request = Connect<Io, Codec>,
            Response = ConnectResult<Io, St, Codec, Out>,
        >,
        Codec: Decoder + Encoder,
        Out: Stream<Item = <Codec as Encoder>::Item> + Unpin,
    {
        FactoryBuilder {
            connect: connect.into_factory(),
            _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 new<F>(connect: F) -> FactoryBuilder<St, C, Io, Codec, Out>
    where
        F: IntoServiceFactory<C>,
        Io: AsyncRead + AsyncWrite,
        C: ServiceFactory<
            Config = (),
            Request = Connect<Io, Codec>,
            Response = ConnectResult<Io, St, Codec, Out>,
        >,
        Codec: Decoder + Encoder,
        Out: Stream<Item = <Codec as Encoder>::Item> + Unpin,
    {
        FactoryBuilder {
            connect: connect.into_factory(),
            _t: PhantomData,
        }
    }
pub fn new < F > ( connect : F ) -> FactoryBuilder < St , C , Io , Codec , Out > where F : IntoServiceFactory < C > , Io : AsyncRead + AsyncWrite , C : ServiceFactory < Config = ( ) , Request = Connect < Io , Codec > , Response = ConnectResult < Io , St , Codec , Out > , > , Codec : Decoder + Encoder , Out : Stream < Item = < Codec as Encoder > :: Item > + Unpin , { FactoryBuilder { connect : connect . into_factory ( ) , _t : PhantomData , } }
Construct framed handler new service with specified connect service
Construct framed handler new service with specified connect service
connect
F