Crate redis_objects

Source
Expand description

An object oriented wrapper around certain redis objects.

Re-exports§

pub use self::queue::PriorityQueue;
pub use self::queue::Queue;
pub use self::hashmap::Hashmap;
pub use self::counters::AutoExportingMetrics;
pub use self::counters::AutoExportingMetricsBuilder;
pub use self::counters::MetricMessage;
pub use self::pubsub::JsonListenerBuilder;
pub use self::pubsub::ListenerBuilder;
pub use self::pubsub::Publisher;
pub use self::set::Set;

Modules§

counters
Objects and helpers for publishing metrics in an efficent manner.
hashmap
A hash map stored under a single redis key.
pubsub
objects for interacting with pubsubs
queue
Objects for using lists and sorted sets in redis as queues.
quota
Object specialized in tracking user quotas
set
Storing collections of unique objects in redis

Macros§

increment
Increase the field given, by default incrementing by 1

Structs§

Msg
Represents a pubsub message.
RedisObjects
Handle for a pool of connections to a redis server.

Enums§

ErrorTypes
Enumeration over all possible errors

Traits§

Ii32
A convenience trait that lets you pass an i32 value or None for arguments
Iusize
A convenience trait that lets you pass an usize value or None for arguments