Module postgres

Source
Available on crate feature postgres only.
Expand description

Type aliases for using deadpool-diesel with PostgreSQL.

Structs§

Metrics
Statistics regarding an object returned by the pool
PoolConfig
Pool configuration.
Status
The current pool status.
SyncGuard
This guard is returned when calling SyncWrapper::lock or SyncWrapper::try_lock. This is basicly just a wrapper around a MutexGuard but hides some implementation details.
Timeouts
Timeouts when getting Objects from a Pool.

Enums§

InteractError
Possible errors returned when SyncWrapper::interact() fails.
Runtime
Enumeration for picking a runtime implementation.

Type Aliases§

BuildError
Type alias for using deadpool::managed::BuildError with diesel.
Connection
Type alias for Object
CreatePoolError
Type alias for using deadpool::managed::CreatePoolError with diesel.
Hook
Type alias for using deadpool::managed::Hook with diesel.
HookError
Type alias for using deadpool::managed::HookError with diesel.
Manager
Manager for PostgreSQL connections
Object
Type alias for using deadpool::managed::Object with diesel.
Pool
Type alias for using deadpool::managed::Pool with diesel.
PoolBuilder
Type alias for using deadpool::managed::PoolBuilder with diesel.
PoolError
Type alias for using deadpool::managed::PoolError with diesel.