package resource_cache
Module Stable.V2Source
Source
type t = {max_open_connections : int;cleanup_idle_connection_after : Core.Time_ns.Span.t;max_connections_per_address : int;max_connection_reuse : int;close_idle_connections_when_at_limit : bool;
}include Core.Bin_prot.Binable.S with type t := t
include Bin_prot.Binable.S_only_functions with type t := t
This function only needs implementation if t exposed to be a polymorphic variant. Despite what the type reads, this does *not* produce a function after reading; instead it takes the constructor tag (int) before reading and reads the rest of the variant t afterwards.