Enum nakadi_types::partition::CursorOffset [−][src]
pub enum CursorOffset { Begin, N(String), }
Expand description
Offset of the event being pointed to.
Note that if you want to specify beginning position of a stream with first event at offset N, you should specify offset N-1. This applies in cases when you create new subscription or reset subscription offsets. Also for stream start offsets one can use special value:
begin - read from the oldest available event.
See also Nakadi Manual
Variants
N(String)
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CursorOffset
impl Send for CursorOffset
impl Sync for CursorOffset
impl Unpin for CursorOffset
impl UnwindSafe for CursorOffset
Blanket Implementations
Mutably borrows from an owned value. Read more