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
- Object
Id - A unique identifier for an object within a pool.
- Pool
Config Poolconfiguration.- Status
- The current pool status.
- Sync
Guard - This guard is returned when calling
SyncWrapper::lockorSyncWrapper::try_lock. This is basicly just a wrapper around aMutexGuardbut hides some implementation details. - Timeouts
- Timeouts when getting
Objects from aPool.
Enums§
- Interact
Error - Possible errors returned when
SyncWrapper::interact()fails. - Runtime
- Enumeration for picking a runtime implementation.
- Timeout
Type - Possible steps causing the timeout in an error returned by
Pool::get()method.
Type Aliases§
- Build
Error - Type alias for using
deadpool::managed::BuildErrorwithdiesel. - Connection
- Type alias for
Object - Create
Pool Error - Type alias for using
deadpool::managed::CreatePoolErrorwithdiesel. - Hook
- Type alias for using
deadpool::managed::Hookwithdiesel. - Hook
Error - Type alias for using
deadpool::managed::HookErrorwithdiesel. - Manager
- Manager for PostgreSQL connections
- Object
- Type alias for using
deadpool::managed::Objectwithdiesel. - Pool
- Type alias for using
deadpool::managed::Poolwithdiesel. - Pool
Builder - Type alias for using
deadpool::managed::PoolBuilderwithdiesel. - Pool
Error - Type alias for using
deadpool::managed::PoolErrorwithdiesel. - Weak
Pool - Type alias for using
deadpool::managed::Poolwithdiesel.