Enum actyx_sdk::service::Order [−][src]
pub enum Order { Asc, Desc, StreamAsc, }
Expand description
The order in which you want to receive events for a query
Event streams can be request with different ordering requirements from the Event Service:
- in strict Asc Lamport order
- in strict Desc Lamport order
- ordered in Asc order per stream, but not between streams
Variants
Events are sorted by ascending Lamport timestamp and stream ID, which defines a total order.
Events are sorted by descending Lamport timestamp and descending stream ID,
which is the exact reverse of the Asc
ordering.
Events are sorted within each stream by ascending Lamport timestamp, with events from different streams interleaved in an undefined order.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Order
impl UnwindSafe for Order
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.