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