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) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'b) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> 'c) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'd) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> t -> int -> 'e) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> t -> Sihl_utils.Time.duration -> 'f) -> 'f
val fold : t -> init:'a -> name: ('a -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'b) -> with_context: ('b -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'c) -> work: ('c -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> 'd) -> failed: ('d -> ([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'e) -> max_tries: ('e -> ([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> t -> int -> 'f) -> retry_delay: ('f -> ([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> t -> Sihl_utils.Time.duration -> 'g) -> 'g
val for_all : t -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> bool) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.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) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> bool) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> bool) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.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) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> 'a) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> 'a) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) -> 'a) -> max_tries: (([< `Read | `Set_and_create ], t, int) Fieldslib.Field.t_with_perm -> t -> int -> 'a) -> retry_delay: (([< `Read | `Set_and_create ], t, Sihl_utils.Time.duration) Fieldslib.Field.t_with_perm -> t -> Sihl_utils.Time.duration -> 'a) -> 'a list
val map : t -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> with_context: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> Sihl_core.Ctx.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> Sihl_core.Ctx.t -> Sihl_core.Ctx.t) -> work: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> t -> (Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> Sihl_core.Ctx.t -> input:string option -> (unit, string) Stdlib.Result.t Lwt.t) -> failed: (([< `Read | `Set_and_create ], t, Sihl_core.Ctx.t -> (unit, string) Stdlib.Result.t Lwt.t) Fieldslib.Field.t_with_perm -> 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 ], 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
OCaml

Innovation. Community. Security.