[][src]Function lavish::connect

pub fn connect<C, H, P, NP, R>(
    protocol: Protocol<P, NP, R>,
    handler: H,
    io: C
) -> Result<Client<P, NP, R>, Error> where
    C: Conn,
    H: Handler<P, NP, R> + 'static,
    P: Atom,
    NP: Atom,
    R: Atom