Crate mtop_client

Source

Modules§

dns

Structs§

Discovery
Service discovery implementation for finding Memcached servers using DNS.
Key
Memcached
MemcachedClient
Memcached client that operates on multiple servers, pooling connections to them, and sharding keys via a Selector implementation.
MemcachedClientConfig
Configuration for constructing a new client instance.
Meta
MtopError
PooledClient
Wrapper for a client that belongs to a pool and must be returned to the pool when complete.
ProtocolError
RendezvousSelector
Logic for picking a server to “own” a particular cache key that uses rendezvous hashing.
Server
An individual server that is part of a Memcached cluster.
ServerID
Unique ID for a server in a Memcached cluster.
ServersResponse
Response for both values and errors from multiple servers, indexed by server.
Slab
SlabItem
SlabItems
Slabs
Stats
TcpClientFactory
Implementation of a ClientFactory that creates new Memcached clients that use plaintext or TLS TCP connections.
Timed
TlsConfig
Configuration for establishing a TLS connection to server with optional mTLS.
Value
ValuesResponse
Response for values indexed by key and errors indexed by server.

Enums§

ErrorKind
ProtocolErrorKind

Traits§

ClientFactory
Trait used by a client pool for creating new client instances when needed.
Selector
Logic for picking a server to “own” a particular cache key.
Timeout
Timeout can be used to add a timeout to any future emitted by mtop.