val pp_error : Stdlib.Format.formatter -> [< `Exn of exn | `Refused | `Timeout ] -> unitval pp_write_error : Stdlib.Format.formatter -> [< `Closed | `Exn of exn | `Refused | `Timeout ] -> unitval disconnect : 'a -> unit Lwt.tval read : Lwt_unix.file_descr -> ([> `Data of Cstruct.t | `Eof ], [> `Exn of exn ]) Stdlib.result Lwt.tval write : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) Stdlib.result Lwt.tval writev : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) Stdlib.result Lwt.tval write_nodelay : Lwt_unix.file_descr -> Cstruct.t -> (unit, [> `Closed | `Exn of exn ]) Stdlib.result Lwt.tval writev_nodelay : Lwt_unix.file_descr -> Cstruct.t list -> (unit, [> `Closed | `Exn of exn ]) Stdlib.result Lwt.tval close : Lwt_unix.file_descr -> unit Lwt.ttype listener = {process : Lwt_unix.file_descr -> unit Lwt.t; |
keepalive : Mirage_protocols.Keepalive.t option; |
}val input : 'a -> listeners:'b -> 'c Lwt.t