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) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'e) -> 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) -> 'g) -> handle: (([< `Read | `Set_and_create ], 'h t, input:'h -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'i) -> failed: (([< `Read | `Set_and_create ], 'j t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> 'k) -> max_tries: (([< `Read | `Set_and_create ], 'l t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'm) -> retry_delay: (([< `Read | `Set_and_create ], 'n t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> 'o) -> 'o
val fold : 'a t -> init:'b -> name: ('b -> ([< `Read | `Set_and_create ], 'c t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> 'd) -> input_to_string: ('d -> ([< `Read | `Set_and_create ], 'e t, 'e -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'f) -> string_to_input: ('f -> ([< `Read | `Set_and_create ], 'g t, string option -> ('g, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> 'h) -> handle: ('h -> ([< `Read | `Set_and_create ], 'i t, input:'i -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'j) -> failed: ('j -> ([< `Read | `Set_and_create ], 'k t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> 'l) -> max_tries: ('l -> ([< `Read | `Set_and_create ], 'm t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'n) -> retry_delay: ('n -> ([< `Read | `Set_and_create ], 'o t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> 'p) -> 'p
val for_all : 'a t -> name: (([< `Read | `Set_and_create ], 'b t, string) Fieldslib.Field.t_with_perm -> 'a t -> string -> bool) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> bool) -> handle: (([< `Read | `Set_and_create ], 'e t, input:'e -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], 'f t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'h 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) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> bool) -> string_to_input: (([< `Read | `Set_and_create ], 'd t, string option -> ('d, string) Stdlib.Result.t) Fieldslib.Field.t_with_perm -> 'a t -> (string option -> ('a, string) Stdlib.Result.t) -> bool) -> handle: (([< `Read | `Set_and_create ], 'e t, input:'e -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], 'f t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> max_tries: (([< `Read | `Set_and_create ], 'g t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> bool) -> retry_delay: (([< `Read | `Set_and_create ], 'h 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) -> input_to_string: (([< `Read | `Set_and_create ], 'd t, 'd -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'c) -> 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) -> 'c) -> handle: (([< `Read | `Set_and_create ], 'f t, input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> 'c) -> failed: (([< `Read | `Set_and_create ], 'g t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> 'c) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> 'c) -> retry_delay: (([< `Read | `Set_and_create ], 'i 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) -> input_to_string: (([< `Read | `Set_and_create ], 'c t, 'c -> string option) Fieldslib.Field.t_with_perm -> 'a t -> ('a -> string option) -> 'd -> string option) -> 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) -> string option -> ('d, string) Stdlib.Result.t) -> handle: (([< `Read | `Set_and_create ], 'f t, input:'f -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (input:'a -> (unit, string) Stdlib.Result.t Lwt.t) -> input:'d -> (unit, string) Stdlib.Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], 'g t, unit -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 'a t -> (unit -> (unit, string) Stdlib.Result.t Lwt.t) -> unit -> (unit, string) Stdlib.Result.t Lwt.t) -> max_tries: (([< `Read | `Set_and_create ], 'h t, int) Fieldslib.Field.t_with_perm -> 'a t -> int -> int) -> retry_delay: (([< `Read | `Set_and_create ], 'i t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> 'a t -> Sihl_utils.Time.duration -> Sihl_utils.Time.duration) -> 'd t
val set_all_mutable_fields : 'a -> unit
OCaml

Innovation. Community. Security.