Up

Module Fields

Signature

val names : string list
val open_flags : ([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm
val last_read_time : ([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm
val close_finished : ([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm
val state : ([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm
val bin_prot_buf : ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm
val bin_prot_len_buf : ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm
val available : ([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm
val pos : ([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm
val close_may_destroy_buf : ([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm
val buf : ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm
val id : ([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm
val fd : ([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm
val make_creator : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> 'a -> ('b -> Fd.t) * 'c) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> 'c -> ('b -> Id.t) * 'd) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'd -> ('b -> Core.Std.Bigstring.t Core.Std.sexp_opaque) * 'e) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> 'e -> ('b -> [
| `Not_ever
| `Not_now
| `Yes
]) * 'f) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'f -> ('b -> int) * 'g) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'g -> ('b -> int) * 'h) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'h -> ('b -> Core.Std.Bigstring.t Core.Std.sexp_opaque) * 'i) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'i -> ('b -> Core.Std.Bigstring.t Core.Std.sexp_opaque) * 'j) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> 'j -> ('b -> State.t) * 'k) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> 'k -> ('b -> unit Import.Ivar.t) * 'l) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> 'l -> ('b -> Core.Std.Time.t) * 'm) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> 'm -> ('b -> open_flags Import.Deferred.t) * 'n) -> 'a -> ('b -> t) * 'n
val create : fd:Fd.t -> id:Id.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 -> close_finished:unit Import.Ivar.t -> last_read_time:Core.Std.Time.t -> open_flags:open_flags Import.Deferred.t -> t
val map : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> Fd.t) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> Id.t) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> Core.Std.Bigstring.t Core.Std.sexp_opaque) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> [
| `Not_ever
| `Not_now
| `Yes
]) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> int) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> int) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> Core.Std.Bigstring.t Core.Std.sexp_opaque) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> Core.Std.Bigstring.t Core.Std.sexp_opaque) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> State.t) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> unit Import.Ivar.t) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> Core.Std.Time.t) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> open_flags Import.Deferred.t) -> t
val iter : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> unit) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> unit) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> unit) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> unit) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> unit) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> unit) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> unit) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> unit) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> unit) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> unit) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> unit) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> fd:('a -> ([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> 'b) -> id:('b -> ([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> 'c) -> buf:('c -> ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'd) -> close_may_destroy_buf:('d -> ([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> 'e) -> pos:('e -> ([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'f) -> available:('f -> ([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'g) -> bin_prot_len_buf:('g -> ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'h) -> bin_prot_buf:('h -> ([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'i) -> state:('i -> ([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> 'j) -> close_finished:('j -> ([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> 'k) -> last_read_time:('k -> ([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> 'l) -> open_flags:('l -> ([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> 'm) -> 'm
val map_poly : ([<
| `Read
| `Set_and_create
], t, 'a) Fieldslib.Field.user -> 'a list
val for_all : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> bool) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> bool) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> bool) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> bool) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> bool) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> bool) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> bool) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> bool) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val exists : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> bool) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> bool) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> bool) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> bool) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> bool) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> bool) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> bool) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> bool) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> bool) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> bool) -> bool
val to_list : fd:(([<
| `Read
| `Set_and_create
], t, Fd.t) Fieldslib.Field.t_with_perm -> 'a) -> id:(([<
| `Read
| `Set_and_create
], t, Id.t) Fieldslib.Field.t_with_perm -> 'a) -> buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'a) -> close_may_destroy_buf:(([<
| `Read
| `Set_and_create
], t, [
| `Not_ever
| `Not_now
| `Yes
]) Fieldslib.Field.t_with_perm -> 'a) -> pos:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'a) -> available:(([<
| `Read
| `Set_and_create
], t, int) Fieldslib.Field.t_with_perm -> 'a) -> bin_prot_len_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'a) -> bin_prot_buf:(([<
| `Read
| `Set_and_create
], t, Core.Std.Bigstring.t Core.Std.sexp_opaque) Fieldslib.Field.t_with_perm -> 'a) -> state:(([<
| `Read
| `Set_and_create
], t, State.t) Fieldslib.Field.t_with_perm -> 'a) -> close_finished:(([<
| `Read
| `Set_and_create
], t, unit Import.Ivar.t) Fieldslib.Field.t_with_perm -> 'a) -> last_read_time:(([<
| `Read
| `Set_and_create
], t, Core.Std.Time.t) Fieldslib.Field.t_with_perm -> 'a) -> open_flags:(([<
| `Read
| `Set_and_create
], t, open_flags Import.Deferred.t) Fieldslib.Field.t_with_perm -> 'a) -> 'a list
module Direct : sig .. end