Available on crate feature
streams
only.Expand description
Defines types to use with the streams commands.
Structs§
- Stream
AddOptions - Builder options for
xadd_options
command - Stream
Auto Claim Options - Builder options for
xautoclaim_options
command. - Stream
Auto Claim Reply - Reply type used with the
xautoclaim_options
command. - Stream
Claim Options - Builder options for
xclaim_options
command. - Stream
Claim Reply - Reply type used with
xclaim
command. - Stream
Id - Represents a stream
id
and its field/values as aHashMap
- Stream
Info Consumer - A consumer parsed from
xinfo_consumers
command. - Stream
Info Consumers Reply - Reply type used with
xinfo_consumer
command, an array of every consumer in a specific consumer group. - Stream
Info Group - A group parsed from
xinfo_groups
command. - Stream
Info Groups Reply - Reply type used with
xinfo_groups
command. - Stream
Info Stream Reply - Reply type used with
xinfo_stream
command, containing general information about the stream stored at the specified key. - Stream
Key - Represents a stream
key
and itsid
’s parsed fromxread
methods. - Stream
Pending Count Reply - Reply type used with
xpending_count
andxpending_consumer_count
commands. - Stream
Pending Data - Inner reply type when an
xpending
command has data. - Stream
Pending Id - Represents a pending message parsed from
xpending
methods. - Stream
Range Reply - Reply type used with
xrange
,xrange_count
,xrange_all
,xrevrange
,xrevrange_count
,xrevrange_all
commands. - Stream
Read Options - Builder options for
xread_options
command. - Stream
Read Reply - Reply type used with
xread
orxread_options
commands. - Stream
Trim Options - Builder options for
xtrim_options
command
Enums§
- Stream
Maxlen - Utility enum for passing
MAXLEN [= or ~] [COUNT]
arguments intoStreamCommands
. The enum value represents the count. - Stream
Pending Reply - Reply type used with
xpending
command. - Stream
Trim Strategy - Utility enum for passing
<MAXLEN|MINID> [=|~] threshold [LIMIT count]
arguments intoStreamCommands
. The enum values the trimming mode (=|~), the threshold, and the optional limit - Stream
Trimming Mode - Utility enum for passing the trim mode
[=|~]
arguments intoStreamCommands
.