Skip to main content

Crate sierradb_client

Crate sierradb_client 

Source

Structs§

AppendInfo
EAppendOptions
Options for the EAPPEND command
EMAppendEvent
Event configuration for the EMAPPEND command
Event
Represents a single event record in the event store.
EventBatch
EventInfo
Information about a single event within a multi-append transaction.
EventSubscription
A handle to an individual SierraDB subscription.
HelloResp
MultiAppendInfo
Information about a multi-event append transaction.
SubscriptionInfo
Information about an event subscription.
SubscriptionManager
A manager for SierraDB subscriptions that handles a shared push channel and demultiplexes messages to individual subscriptions.

Enums§

CurrentVersion
Actual position of a stream.
ErrorCode
Error codes used in Sierra server responses.
ExpectedVersion
The expected version before the event is inserted.
RangeValue
SierraError
Errors that can occur when using the SierraDB client.
SierraMessage
Represents messages received from SierraDB subscriptions.
VersionGap

Constants§

NAMESPACE_PARTITION_KEY

Traits§

AsyncCommands
Implements common redis commands over asynchronous connections.
AsyncTypedCommands
Implements common redis commands over asynchronous connections. The return types are concrete and opinionated. If you want to choose the return type you should use the AsyncCommands trait.
CmdExt
Commands
Implements common redis commands for connection like objects.
PipelineExt
Implements common redis commands for pipelines. Unlike the regular commands trait, this returns the pipeline rather than a result directly. Other than that it works the same however.
SierraAsyncClientExt
Extension trait for Redis clients to provide SierraDB async subscription functionality.
TypedCommands
Implements common redis commands. The return types are concrete and opinionated. If you want to choose the return type you should use the Commands trait.

Functions§

stream_partition_key

Type Aliases§

SierraResult
Result type for Sierra client operations.