Crate scylla_proxy

Source

Modules§

example_db_errors

Structs§

Action
Describes what to with the given <something> (frame), how to transform it and after what delay.
Node
Proxy
RequestFrame
RequestReaction
RequestRule
A rule describing what actions should the proxy perform with the received request frame and on what conditions.
ResponseFrame
ResponseReaction
ResponseRule
A rule describing what actions should the proxy perform with the received response frame and on what conditions.
RunningProxy
A handle that can be used to stop the proxy or change the rules.

Enums§

Condition
Specifies when an associated Reaction will be performed. Conditions are subject to logic, with not(), and() and or() convenience functions.
DoorkeeperError
ProxyError
RequestOpcode
ResponseOpcode
ShardAwareness
Specifies proxy’s behaviour regarding shard awareness.
WorkerError

Traits§

Reaction
Just a trait to unify API of both RequestReaction and ResponseReaction. As they are both analogous, I will describe them here.

Type Aliases§

TargetShard