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, 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, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm
val handle : ([< `Read | `Set_and_create ], 'a t, Core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm
val string_to_input : ([< `Read | `Set_and_create ], 'a t, string option -> ('a, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm
val input_to_string : ([< `Read | `Set_and_create ], 'a t, 'a -> string option) Fieldslib.Field.t_with_perm
val with_context : ([< `Read | `Set_and_create ], 'a t, Core.Ctx.t -> Core.Ctx.t) 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) -> with_context: (([< `Read | `Set_and_create ], 'e t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> 'd -> ('c -> Core.Ctx.t -> Core.Ctx.t) * 'f) -> input_to_string: (([< `Read | `Set_and_create ], 'g t, 'g -> string option) Fieldslib.Field.t_with_perm -> 'f -> ('c -> 'h -> string option) * 'i) -> string_to_input: (([< `Read | `Set_and_create ], 'j t, string option -> ('j, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'i -> ('c -> string option -> ('h, string) Stdlib.Result.t) * 'k) -> handle: (([< `Read | `Set_and_create ], 'l t, Core.Ctx.t -> input:'l -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'k -> ('c -> Core.Ctx.t -> input:'h -> (unit, string) Stdlib.Result.t Lwt.t) * 'm) -> failed: (([< `Read | `Set_and_create ], 'n t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'm -> ('c -> Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) * 'o) -> max_tries: (([< `Read | `Set_and_create ], 'p t, int) Fieldslib.Field.t_with_perm -> 'o -> ('c -> int) * 'q) -> retry_delay: (([< `Read | `Set_and_create ], 'r t, Utils.Time.duration) Fieldslib.Field.t_with_perm -> 'q -> ('c -> Utils.Time.duration) * 's) -> 'b -> ('c -> 'h t) * 's
val create : name:string -> with_context:(Core.Ctx.t -> Core.Ctx.t) -> input_to_string:('a -> string option) -> string_to_input:(string option -> ('a, string) Stdlib.Result.t) -> handle:(Core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> failed:(Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> max_tries:int -> retry_delay:Utils.Time.duration -> 'a t
val map : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> string) -> with_context: (([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> Core.Ctx.t -> Core.Ctx.t) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> 'd -> string option) -> string_to_input: (([< `Read | `Set_and_create ], 'e t, string option -> ('e, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> string option -> ('d, string) Stdlib.Result.t) -> handle: (([< `Read | `Set_and_create ], 'f t, Core.Ctx.t -> input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> Core.Ctx.t -> input:'d -> (unit, string) Stdlib.Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], 'g t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> int) -> retry_delay: (([< `Read | `Set_and_create ], 'i t, Utils.Time.duration) Fieldslib.Field.t_with_perm -> Utils.Time.duration) -> 'd t
val iter : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> unit) -> with_context: (([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> unit) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> unit) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> unit) -> handle: (([< `Read | `Set_and_create ], 'e t, Core.Ctx.t -> input:'e -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> failed: (([< `Read | `Set_and_create ], 'f t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> unit) -> max_tries: (([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm -> unit) -> retry_delay: (([< `Read | `Set_and_create ], 'h t, Utils.Time.duration) Fieldslib.Field.t_with_perm -> unit) -> unit
val fold : init:'a -> name: ('a -> ([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'c) -> with_context: ('c -> ([< `Read | `Set_and_create ], 'd t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> 'e) -> input_to_string: ('e -> ([< `Read | `Set_and_create ], 'f t, 'f -> string option) Fieldslib.Field.t_with_perm -> 'g) -> string_to_input: ('g -> ([< `Read | `Set_and_create ], 'h t, string option -> ('h, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'i) -> handle: ('i -> ([< `Read | `Set_and_create ], 'j t, Core.Ctx.t -> input:'j -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'k) -> failed: ('k -> ([< `Read | `Set_and_create ], 'l t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'm) -> max_tries: ('m -> ([< `Read | `Set_and_create ], 'n t, int) Fieldslib.Field.t_with_perm -> 'o) -> retry_delay: ('o -> ([< `Read | `Set_and_create ], 'p t, Utils.Time.duration) Fieldslib.Field.t_with_perm -> 'q) -> 'q
val map_poly : ([< `Read | `Set_and_create ], 'a t, 'b) Fieldslib.Field.user -> 'b list
val for_all : name: (([< `Read | `Set_and_create ], 'a t, string) Fieldslib.Field.t_with_perm -> bool) -> with_context: (([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> bool) -> handle: (([< `Read | `Set_and_create ], 'e t, Core.Ctx.t -> input:'e -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], 'f t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'h t, 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) -> with_context: (([< `Read | `Set_and_create ], 'b t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> bool) -> handle: (([< `Read | `Set_and_create ], 'e t, Core.Ctx.t -> input:'e -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> failed: (([< `Read | `Set_and_create ], 'f t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'h t, 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) -> with_context: (([< `Read | `Set_and_create ], 'c t, Core.Ctx.t -> Core.Ctx.t) Fieldslib.Field.t_with_perm -> 'b) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'b) -> string_to_input: (([< `Read | `Set_and_create ], 'e t, string option -> ('e, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'b) -> handle: (([< `Read | `Set_and_create ], 'f t, Core.Ctx.t -> input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'b) -> failed: (([< `Read | `Set_and_create ], 'g t, Core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'b) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> 'b) -> retry_delay: (([< `Read | `Set_and_create ], 'i t, Utils.Time.duration) Fieldslib.Field.t_with_perm -> 'b) -> 'b list
module Direct : sig ... end
OCaml

Innovation. Community. Security.