package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val names : string list
val retry_delay : ([< `Read | `Set_and_create ], 'a t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm
val max_tries : ([< `Read | `Set_and_create ], 'a t, int) Fieldslib.Field.t_with_perm
val failed : ([< `Read | `Set_and_create ], 'a t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
val handle : ([< `Read | `Set_and_create ], 'a t, input:'a0 -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm
val string_to_input : ([< `Read | `Set_and_create ], 'a t, string option -> ('a0, string) Result.t) Fieldslib.Field.t_with_perm
val input_to_string : ([< `Read | `Set_and_create ], 'a t, 'a0 -> string option) Fieldslib.Field.t_with_perm
val name : ([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm
val make_creator : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> 'b -> ('c -> string) * 'd) -> input_to_string: (([< `Read | `Set_and_create ], 'e t, 'e -> string option) Fieldslib.Field.t_with_perm -> 'f -> ('g -> 'h -> string option) * 'i) -> string_to_input: (([< `Read | `Set_and_create ], 'j t, string option -> ('j, string) Result.t) Fieldslib.Field.t_with_perm -> 'k -> ('l -> string option -> ('m, string) Result.t) * 'n) -> handle: (([< `Read | `Set_and_create ], 'o t, input:'o -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'p -> ('q -> input:'r -> (unit, string) Result.t Lwt.t) * 's) -> failed: (([< `Read | `Set_and_create ], 't t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'u -> ('v -> unit -> (unit, string) Result.t Lwt.t) * 'w) -> max_tries: (([< `Read | `Set_and_create ], 'x t, int) Fieldslib.Field.t_with_perm -> 'y -> ('z -> int) * 'a1) -> retry_delay: (([< `Read | `Set_and_create ], 'b1 t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'c1 -> ('d1 -> Sihl_utils.Time.duration) * 'e1) -> 'f1 -> ('g1 -> 'h1 t) * 'i1
val create : name:string -> input_to_string:('a -> string option) -> string_to_input:(string option -> ('b, string) Result.t) -> handle:(input:'c -> (unit, string) Result.t Lwt.t) -> failed:(unit -> (unit, string) Result.t Lwt.t) -> max_tries:int -> retry_delay:Sihl_utils.Time.duration -> 'd t
val map : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> string) -> input_to_string: (([< `Read | `Set_and_create ], 'b t, 'b -> string option) Fieldslib.Field.t_with_perm -> 'c -> string option) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Result.t) Fieldslib.Field.t_with_perm -> string option -> ('e, string) Result.t) -> handle: (([< `Read | `Set_and_create ], 'f t, input:'f -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> input:'g -> (unit, string) Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], 'h t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit -> (unit, string) Result.t Lwt.t) -> max_tries: (([< `Read | `Set_and_create ], 'i t, int) Fieldslib.Field.t_with_perm -> int) -> retry_delay: (([< `Read | `Set_and_create ], 'j t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> Sihl_utils.Time.duration) -> 'k t
val iter : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> unit) -> input_to_string: (([< `Read | `Set_and_create ], 'b t, 'b -> string option) Fieldslib.Field.t_with_perm -> unit) -> string_to_input: (([< `Read | `Set_and_create ], 'c t, string option -> ('c, string) Result.t) Fieldslib.Field.t_with_perm -> unit) -> handle: (([< `Read | `Set_and_create ], 'd t, input:'d -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> failed: (([< `Read | `Set_and_create ], 'e t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> max_tries: (([< `Read | `Set_and_create ], 'f t, int) Fieldslib.Field.t_with_perm -> unit) -> retry_delay: (([< `Read | `Set_and_create ], 'g t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> name: ('b -> ([< `Read | `Set_and_create ], 'c t, string) Fieldslib.Field.t_with_perm -> 'd) -> input_to_string: ('e -> ([< `Read | `Set_and_create ], 'f t, 'f -> string option) Fieldslib.Field.t_with_perm -> 'g) -> string_to_input: ('h -> ([< `Read | `Set_and_create ], 'i t, string option -> ('i, string) Result.t) Fieldslib.Field.t_with_perm -> 'j) -> handle: ('k -> ([< `Read | `Set_and_create ], 'l t, input:'l -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'm) -> failed: ('n -> ([< `Read | `Set_and_create ], 'o t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'p) -> max_tries: ('q -> ([< `Read | `Set_and_create ], 'r t, int) Fieldslib.Field.t_with_perm -> 's) -> retry_delay: ('t -> ([< `Read | `Set_and_create ], 'u t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'v) -> 'w
val map_poly : ([< `Read | `Set_and_create ], 'a t, 'b) Fieldslib.Field.user -> 'c list
val for_all : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'b t, 'b -> string option) Fieldslib.Field.t_with_perm -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'c t, string option -> ('c, string) Result.t) Fieldslib.Field.t_with_perm -> bool) -> handle: (([< `Read | `Set_and_create ], 'd t, input:'d -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], 'e t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'f t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'g t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> bool) -> bool
val exists : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'b t, 'b -> string option) Fieldslib.Field.t_with_perm -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'c t, string option -> ('c, string) Result.t) Fieldslib.Field.t_with_perm -> bool) -> handle: (([< `Read | `Set_and_create ], 'd t, input:'d -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], 'e t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'f t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'g t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> bool) -> bool
val to_list : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> 'b) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> 'd) -> string_to_input: (([< `Read | `Set_and_create ], 'e t, string option -> ('e, string) Result.t) Fieldslib.Field.t_with_perm -> 'f) -> handle: (([< `Read | `Set_and_create ], 'g t, input:'g -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'h) -> failed: (([< `Read | `Set_and_create ], 'i t, unit -> (unit, string) Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'j) -> max_tries: (([< `Read | `Set_and_create ], 'k t, int) Fieldslib.Field.t_with_perm -> 'l) -> retry_delay: (([< `Read | `Set_and_create ], 'm t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'n) -> 'o list
module Direct : sig ... end