Capnp_rpc_unix.Unix_flow
Wraps a Unix file_descr
to provide the Mirage flow API.
include Mirage_flow.S
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
val write : flow -> Cstruct.t -> (unit, write_error) Stdlib.result Lwt.t
val writev : flow -> Cstruct.t list -> (unit, write_error) Stdlib.result Lwt.t
val close : flow -> unit Lwt.t
val connect : ?switch:Lwt_switch.t -> Lwt_unix.file_descr -> flow