Expand description
§Deadpool for Memcache
Deadpool is a dead simple async pool for connections and objects of any type.
This crate implements a deadpool manager for
async-memcached. We specifically force users to
connect via TCP as there is no existing mechanism to parameterize how to deal with different
unerlying connection types at the moment.
Structs§
- Manager
- The manager for creating and recyling memcache connections
- 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.
- Timeouts
- Timeouts when getting
Objects from aPool.
Enums§
- 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::BuildErrorwith [memcached]. - Create
Pool Error - Type alias for using
deadpool::managed::CreatePoolErrorwith [memcached]. - Hook
- Type alias for using
deadpool::managed::Hookwith [memcached]. - Hook
Error - Type alias for using
deadpool::managed::HookErrorwith [memcached]. - Object
- Type alias for using
deadpool::managed::Objectwith [memcached]. - Pool
- Type alias for using
deadpool::managed::Poolwith [memcached]. - Pool
Builder - Type alias for using
deadpool::managed::PoolBuilderwith [memcached]. - Pool
Error - Type alias for using
deadpool::managed::PoolErrorwith [memcached]. - Weak
Pool - Type alias for using
deadpool::managed::Poolwith [memcached].