Module config

Module config 

Source
Expand description

A number of traits to configure connection pool and their implementatons

Usually you should start with pool_for and use methods to configure connection pool instead of poking at these types.

Structs§

DefaultMux
A constructor for a default multiplexer
DefaultQueue
A constructor for a default queue
NoopMetrics
A constructor for a default (no-op) metrics collector
PartialConfig
A configuration builder that holds onto Connect object
PoolConfig
A fully configured pool but you might override some defaults
Queue
A constructor for a fixed-size dumb queue

Traits§

NewErrorLog
A constructor for error log
NewMetrics
A constructor for metrics collector object used for connection pool
NewMux
A constructor for multiplexer
NewQueue
A constructor for queue