module Dynamic_port_writer: Dynamic_port_writer
type
t
include Stringable
val create : unit ->
(t *
[ `Port of int ] Core.Std.Or_error.t Import.Deferred.t)
Import.Deferred.t
val where_to_listen : t ->
(Import.Socket.Address.Inet.t, int) Tcp.Where_to_listen.t
val arg : t Core.Command.Spec.Arg_type.t
For use with Command
.
val flag : t Core.Command.Spec.param
One can pass a t
from parent to child by including flag_args t
in the command-line
arguments and using flag
in the Command.t
in the child.
val flag_args : t -> string list
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val bin_t : t Bin_prot.Type_class.t
val bin_read_t : t Bin_prot.Read_ml.reader
val bin_read_t_ : t Bin_prot.Unsafe_read_c.reader
val bin_read_t__ : (int -> t) Bin_prot.Unsafe_read_c.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write_ml.writer
val bin_write_t_ : t Bin_prot.Unsafe_write_c.writer
val bin_writer_t : t Bin_prot.Type_class.writer
For use with Command
.
One can pass a t
from parent to child by including flag_args t
in the command-line
arguments and using flag
in the Command.t
in the child.