Module drivers

Source
Expand description

Drivers are an abstraction over the pub/sub backend used by the adapter. You can use the provided implementation or implement your own.

Modules§

fredfred
A driver implementation for the fred pub/sub backend.
redisredis
A driver implementation for the redis pub/sub backend.

Structs§

MessageStream
A stream of raw messages received from a channel. Messages are encoded with msgpack.

Traits§

Driver
The driver trait can be used to support different pub/sub backends. It must share handlers/connection between its clones.

Type Aliases§

ChanItem
A message item that can be returned from a channel.