Skip to main content

Crate memcache

Crate memcache 

Source
Expand description

High-performance asynchronous memcached access through one unified CacheService facade.

Re-exports§

pub use cacheservice::CacheNamespaceConf;
pub use cacheservice::CacheServiceConfig;
pub use cacheservice::CacheServiceError;
pub use config::Protocol;
pub use error::Error;
pub use error::Result;
pub use expiration::Expiration;
pub use value::CasValue;
pub use value::ToMemcacheValue;
pub use value::Value;
pub use value::flags;

Modules§

cacheservice
Application-supplied cache topology and native configuration parsing.
config
Public protocol selection for crate::CacheService.
error
expiration
value

Structs§

CacheEntry
A value returned by Memcache::get.
CacheService
A CacheService-backed Memcache implementation.
CacheServiceOptions
Instance-level settings for CacheService.
SetOptions
Optional per-write overrides for Memcache::set_with.
SubscriptionHandle
Owns one source subscription. Dropping it cancels the subscription and stops the source’s internal polling/listening for this subscriber.

Traits§

CacheServiceConfigSource
Supplies a live, possibly-changing namespace configuration. CacheService does not poll: the source detects changes and pushes them by invoking the on_update callback registered via CacheServiceConfigSource::subscribe.
Memcache
The small memcache contract consumed by application code.