val
fold :
t -> init:'a -> fd:('a -> ([<
|
`Read
|
`Set_and_create
],
t,
Fd.t)
Fieldslib.Field.t_with_perm ->
t ->
Fd.t -> 'b) -> id:('b -> ([<
|
`Read
|
`Set_and_create
],
t,
Id.t)
Fieldslib.Field.t_with_perm ->
t ->
Id.t -> 'c) -> buf:('c -> ([<
|
`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 -> 'd) -> close_may_destroy_buf:('d -> ([<
|
`Read
|
`Set_and_create
],
t, [
|
`Not_ever
|
`Not_now
|
`Yes
])
Fieldslib.Field.t_with_perm ->
t -> [
|
`Not_ever
|
`Not_now
|
`Yes
] -> 'e) -> pos:('e -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'f) -> available:('f -> ([<
|
`Read
|
`Set_and_create
],
t, int)
Fieldslib.Field.t_with_perm ->
t -> int -> 'g) -> bin_prot_len_buf:('g -> ([<
|
`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 -> 'h) -> bin_prot_buf:('h -> ([<
|
`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 -> 'i) -> state:('i -> ([<
|
`Read
|
`Set_and_create
],
t,
State.t)
Fieldslib.Field.t_with_perm ->
t ->
State.t -> 'j) -> close_finished:('j -> ([<
|
`Read
|
`Set_and_create
],
t, unit
Import.Ivar.t)
Fieldslib.Field.t_with_perm ->
t -> unit
Import.Ivar.t -> 'k) -> last_read_time:('k -> ([<
|
`Read
|
`Set_and_create
],
t,
Core.Std.Time.t)
Fieldslib.Field.t_with_perm ->
t ->
Core.Std.Time.t -> 'l) -> open_flags:('l -> ([<
|
`Read
|
`Set_and_create
],
t,
open_flags Import.Deferred.t)
Fieldslib.Field.t_with_perm ->
t ->
open_flags Import.Deferred.t -> 'm) -> 'm