Module rust_cache::common [] [src]

Structs

CacheEntry

This is a useful struct for use inside a cache implentation to keep track of the data and the expiration together. it can be converted to a form a string iteself for storage in any medium that accepts strings

NullCache

This sturct is for use in places that require a Cache impl but you dont want to actually cache anything. exmples could be testing and such

Enums

ParseCacheEntryError

Traits

Cache

Trait to implement for actual cache implementations

Cacheable

Trait for items that want to be cacheable allows for special to string method for when they get cached all items already able to be converted to a from a string have their default impl