package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val iter : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> 'c) -> with_context: (([< `Read | `Set_and_create ], 'd t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'e) -> input_to_string: (([< `Read | `Set_and_create ], 'f t, 'f -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'g) -> string_to_input: (([< `Read | `Set_and_create ], 'h t, string option -> ('h, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> 'i) -> handle: (([< `Read | `Set_and_create ], 'j t, Sihl_core.Ctx.t -> input:'j -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'k) -> failed: (([< `Read | `Set_and_create ], 'l t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'm) -> max_tries: (([< `Read | `Set_and_create ], 'n t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'o) -> retry_delay: (([< `Read | `Set_and_create ], 'p t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> 'q) -> 'q
val fold : 'a t -> init:'b -> name: ('b -> ([< `Read | `Set_and_create ], 'c t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> 'd) -> with_context: ('d -> ([< `Read | `Set_and_create ], 'e t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'f) -> input_to_string: ('f -> ([< `Read | `Set_and_create ], 'g t, 'g -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'h) -> string_to_input: ('h -> ([< `Read | `Set_and_create ], 'i t, string option -> ('i, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> 'j) -> handle: ('j -> ([< `Read | `Set_and_create ], 'k t, Sihl_core.Ctx.t -> input:'k -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'l) -> failed: ('l -> ([< `Read | `Set_and_create ], 'm t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'n) -> max_tries: ('n -> ([< `Read | `Set_and_create ], 'o t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'p) -> retry_delay: ('p -> ([< `Read | `Set_and_create ], 'q t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> 'r) -> 'r
val for_all : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> bool) -> with_context: (([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'e t, string option -> ('e, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> bool) -> handle: (([< `Read | `Set_and_create ], 'f t, Sihl_core.Ctx.t -> input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], 'g t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> bool) -> bool
val exists : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> bool) -> with_context: (([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'e t, string option -> ('e, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> bool) -> handle: (([< `Read | `Set_and_create ], 'f t, Sihl_core.Ctx.t -> input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], 'g t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> bool) -> bool
val to_list : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> 'c) -> with_context: (([< `Read | `Set_and_create ], 'd t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'c) -> input_to_string: (([< `Read | `Set_and_create ], 'e t, 'e -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'c) -> string_to_input: (([< `Read | `Set_and_create ], 'f t, string option -> ('f, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> 'c) -> handle: (([< `Read | `Set_and_create ], 'g t, Sihl_core.Ctx.t -> input:'g -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'c) -> failed: (([< `Read | `Set_and_create ], 'h t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'c) -> max_tries: (([< `Read | `Set_and_create ], 'i t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'c) -> retry_delay: (([< `Read | `Set_and_create ], 'j t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> 'c) -> 'c list
val map : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> string) -> with_context: (([< `Read | `Set_and_create ], 'c t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'e -> string option) -> string_to_input: (([< `Read | `Set_and_create ], 'f t, string option -> ('f, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> string option -> ('e, string) Stdlib.Result.t) -> handle: (([< `Read | `Set_and_create ], 'g t, Sihl_core.Ctx.t -> input:'g -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> Sihl_core.Ctx.t -> input:'e -> (unit, string) Stdlib.Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], 'h t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> max_tries: (([< `Read | `Set_and_create ], 'i t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> int) -> retry_delay: (([< `Read | `Set_and_create ], 'j t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> Sihl_utils.Time.duration) -> 'e t
val set_all_mutable_fields : 'a -> unit
OCaml

Innovation. Community. Security.