package git-net

  1. Overview
  2. Docs

Module Git_net_unix.FIFOSource

Sourceval (>>?) : ('a, 'b) Lwt_result.t -> ('a -> ('c, 'b) Lwt_result.t) -> ('c, 'b) Lwt_result.t
Sourcetype flow = Lwt_unix.file_descr * Lwt_unix.file_descr
Sourcetype endpoint = Fpath.t
Sourcetype error = [
  1. | `Error of Unix.error * string * string
]
Sourcetype write_error = [
  1. | `Closed
  2. | `Error of Unix.error * string * string
]
Sourceval pp_error : Format.formatter -> [< `Error of Unix.error * string * string ] -> unit
Sourceval pp_write_error : Format.formatter -> [< `Closed | `Error of Unix.error * string * string ] -> unit
Sourceval read : (Lwt_unix.file_descr * 'a) -> ([> `Data of Cstruct.t | `Eof ], [> `Error of Unix.error * string * string ]) result Lwt.t
Sourceval write : ('a * Lwt_unix.file_descr) -> Cstruct.t -> (unit, [> `Error of Unix.error * string * string ]) result Lwt.t
Sourceval writev : ('a * Lwt_unix.file_descr) -> Cstruct.t list -> (unit, [> `Error of Unix.error * string * string ]) Lwt_result.t
Sourceval close : (Lwt_unix.file_descr * Lwt_unix.file_descr) -> unit Lwt.t
Sourceval shutdown : (Lwt_unix.file_descr * Lwt_unix.file_descr) -> [< `read | `read_write | `write ] -> unit Lwt.t
Sourceval connect : Fpath.t -> (Lwt_unix.file_descr * Lwt_unix.file_descr, [> `Error of Unix.error * string * string ]) result Lwt.t
OCaml

Innovation. Community. Security.