val
fold :
t -> init:'a -> id:('a -> ([<
|
`Read
|
`Set_and_create
],
t,
Id.t)
Fieldslib.Field.t_with_perm ->
t ->
Id.t -> 'b) -> fd:('b -> ([<
|
`Read
|
`Set_and_create
],
t,
Fd.t)
Fieldslib.Field.t_with_perm ->
t ->
Fd.t -> 'c) -> monitor:('c -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Monitor.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Monitor.t -> 'd) -> inner_monitor:('d -> ([<
|
`Read
|
`Set_and_create
],
t,
Import.Monitor.t)
Fieldslib.Field.t_with_perm ->
t ->
Import.Monitor.t -> 'e) -> background_writer_state:('e -> ([<
|
`Read
|
`Set_and_create
],
t, [
|
`Not_running
|
`Running
|
`Stopped_permanently
])
Fieldslib.Field.t_with_perm ->
t -> [
|
`Not_running
|
`Running
|
`Stopped_permanently
] -> 'f) -> syscall:('f -> ([<
|
`Read
|
`Set_and_create
],
t, [
|
`Per_cycle
])
Fieldslib.Field.t_with_perm ->
t -> [
|
`Per_cycle
] -> 'g) -> bytes_received:('g -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Int63.t)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Int63.t -> 'h) -> bytes_written:('h -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Int63.t)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Int63.t -> 'i) -> scheduled:('i -> ([<
|
`Read
|
`Set_and_create
],
t,
Scheduled.t Core.Std.sexp_opaque)
Fieldslib.Field.t_with_perm ->
t ->
Scheduled.t Core.Std.sexp_opaque -> 'j) -> scheduled_bytes:('j -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'k) -> buf:('k -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Bigstring.t Core.Std.sexp_opaque)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Bigstring.t Core.Std.sexp_opaque -> 'l) -> scheduled_back:('l -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'm) -> back:('m -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'n) -> flushes:('n -> ([<
|
`Read
|
`Set_and_create
],
t, (
Core.Std.Time.t Import.Ivar.t
*
Core.Std.Int63.t)
Core.Std.Queue.t Core.Std.sexp_opaque)
Fieldslib.Field.t_with_perm ->
t -> (
Core.Std.Time.t Import.Ivar.t
*
Core.Std.Int63.t)
Core.Std.Queue.t Core.Std.sexp_opaque -> 'o) -> close_state:('o -> ([<
|
`Read
|
`Set_and_create
],
t, [
|
`Closed
|
`Closed_and_flushing
|
`Open
])
Fieldslib.Field.t_with_perm ->
t -> [
|
`Closed
|
`Closed_and_flushing
|
`Open
] -> 'p) -> close_finished:('p -> ([<
|
`Read
|
`Set_and_create
],
t, unit
Import.Ivar.t)
Fieldslib.Field.t_with_perm ->
t -> unit
Import.Ivar.t -> 'q) -> close_started:('q -> ([<
|
`Read
|
`Set_and_create
],
t, unit
Import.Ivar.t)
Fieldslib.Field.t_with_perm ->
t -> unit
Import.Ivar.t -> 'r) -> producers_to_flush_at_close:('r -> ([<
|
`Read
|
`Set_and_create
],
t, (unit -> unit
Import.Deferred.t)
Core.Std.Bag.t)
Fieldslib.Field.t_with_perm ->
t -> (unit -> unit
Import.Deferred.t)
Core.Std.Bag.t -> 's) -> flush_at_shutdown_elt:('s -> ([<
|
`Read
|
`Set_and_create
],
t,
t Core.Std.sexp_opaque Core.Std.Bag.Elt.t option)
Fieldslib.Field.t_with_perm ->
t ->
t Core.Std.sexp_opaque Core.Std.Bag.Elt.t option -> 't) -> check_buffer_age:('t -> ([<
|
`Read
|
`Set_and_create
],
t,
t Core.Std.sexp_opaque Check_buffer_age'.t Core.Std.Bag.Elt.t option)
Fieldslib.Field.t_with_perm ->
t ->
t Core.Std.sexp_opaque Check_buffer_age'.t Core.Std.Bag.Elt.t option -> 'u) -> consumer_left:('u -> ([<
|
`Read
|
`Set_and_create
],
t, unit
Import.Ivar.t)
Fieldslib.Field.t_with_perm ->
t -> unit
Import.Ivar.t -> 'v) -> raise_when_consumer_leaves:('v -> ([<
|
`Read
|
`Set_and_create
],
t, bool)
Fieldslib.Field.t_with_perm ->
t -> bool -> 'w) -> open_flags:('w -> ([<
|
`Read
|
`Set_and_create
],
t,
open_flags Import.Deferred.t)
Fieldslib.Field.t_with_perm ->
t ->
open_flags Import.Deferred.t -> 'x) -> 'x