package sihl

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