Up

Module Direct

Signature

val iter : t -> fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> t -> Fd.t -> unit) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> t -> Id.t -> unit) -> buf:(([<
| `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 -> unit) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> t -> [
| `Not_ever
| `Not_now
| `Yes
] -> unit) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> t -> int -> unit) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> t -> int -> unit) -> bin_prot_len_buf:(([<
| `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 -> unit) -> bin_prot_buf:(([<
| `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 -> unit) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> t -> State.t -> unit) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> t -> unit Import.Ivar.t -> unit) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> t -> Core.Std.Time.t -> unit) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> t -> open_flags Import.Deferred.t -> 'a) -> 'a
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
val set_all_mutable_fields : t -> buf:Core.Std.Bigstring.t Core.Std.sexp_opaque -> close_may_destroy_buf:[
| `Not_ever
| `Not_now
| `Yes
] -> pos:int -> available:int -> bin_prot_len_buf:Core.Std.Bigstring.t Core.Std.sexp_opaque -> bin_prot_buf:Core.Std.Bigstring.t Core.Std.sexp_opaque -> state:State.t -> last_read_time:Core.Std.Time.t -> unit