pub fn new<F>(connect: F) -> Builder<St, C, Io, Codec, Out>
    where
        F: IntoService<C>,
        Io: AsyncRead + AsyncWrite,
        C: Service<Request = Connect<Io, Codec>, Response = ConnectResult<Io, St, Codec, Out>>,
        Codec: Decoder + Encoder,
        Out: Stream<Item = <Codec as Encoder>::Item>,
    {
        Builder {
            connect: connect.into_service(),
            _t: PhantomData,
        }
    }
/// Construct framed handler service with specified connect service
Construct framed handler service with specified connect service
Construct framed handler service with specified connect service
pub fn new<F>(connect: F) -> Builder<St, C, Io, Codec, Out>
    where
        F: IntoService<C>,
        Io: AsyncRead + AsyncWrite,
        C: Service<Request = Connect<Io, Codec>, Response = ConnectResult<Io, St, Codec, Out>>,
        Codec: Decoder + Encoder,
        Out: Stream<Item = <Codec as Encoder>::Item>,
    {
        Builder {
            connect: connect.into_service(),
            _t: PhantomData,
        }
    }
pub fn new < F > ( connect : F ) -> Builder < St , C , Io , Codec , Out > where F : IntoService < C > , Io : AsyncRead + AsyncWrite , C : Service < Request = Connect < Io , Codec > , Response = ConnectResult < Io , St , Codec , Out > > , Codec : Decoder + Encoder , Out : Stream < Item = < Codec as Encoder > :: Item > , { Builder { connect : connect . into_service ( ) , _t : PhantomData , } }
Construct framed handler service with specified connect service
Construct framed handler service with specified connect service
connect
F