Module type Driver.Intf

type config
type state
val connect : config -> (Connection.t, [> `Closed | `Connection_closed | `Eof | `Exn of exn | `Msg of string | `No_info | `Noop | `Process_down | `Timeout | `Unix_error of Unix.error | `Would_block ]) Stdlib.result
val deserialize : 'a Serde.De.t -> bytes -> ('a, Serde.error) Stdlib.result