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
- Pool
Config Pool
configuration.- Status
- The current pool status.
- Sync
Guard - This guard is returned when calling
SyncWrapper::lock
orSyncWrapper::try_lock
. This is basicly just a wrapper around aMutexGuard
but hides some implementation details. - Timeouts
- Timeouts when getting
Object
s from aPool
.
Enums§
- Interact
Error - Possible errors returned when
SyncWrapper::interact()
fails. - Runtime
- Enumeration for picking a runtime implementation.
Type Aliases§
- Build
Error - Type alias for using
deadpool::managed::BuildError
withdiesel
. - Connection
- Type alias for
Object
- Create
Pool Error - Type alias for using
deadpool::managed::CreatePoolError
withdiesel
. - Hook
- Type alias for using
deadpool::managed::Hook
withdiesel
. - Hook
Error - Type alias for using
deadpool::managed::HookError
withdiesel
. - Manager
- Manager for PostgreSQL connections
- Object
- Type alias for using
deadpool::managed::Object
withdiesel
. - Pool
- Type alias for using
deadpool::managed::Pool
withdiesel
. - Pool
Builder - Type alias for using
deadpool::managed::PoolBuilder
withdiesel
. - Pool
Error - Type alias for using
deadpool::managed::PoolError
withdiesel
.