pub enum EventsCursorStatus {
Ok,
Expired,
Unknown,
}Expand description
Cursor status: ‘ok’ means the cursor was applied successfully; ‘expired’ means the cursor referred to an event that no longer exists in history (e.g. truncated or compacted away) and the read fell back to a boundary of the remaining history (the beginning for a forward read, the tail for a backward read). The fallback page is a fresh boundary snapshot, not a continuation of the requested cursor, so it may overlap already-rendered events; on ‘expired’ a consumer should reset/rebase its pagination state (or deduplicate by event id) before continuing from the returned cursor.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Ok
The cursor was applied successfully.
Expired
The cursor referred to history that is no longer available.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for EventsCursorStatus
impl Clone for EventsCursorStatus
Source§fn clone(&self) -> EventsCursorStatus
fn clone(&self) -> EventsCursorStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EventsCursorStatus
impl Debug for EventsCursorStatus
Source§impl Default for EventsCursorStatus
impl Default for EventsCursorStatus
Source§fn default() -> EventsCursorStatus
fn default() -> EventsCursorStatus
Source§impl<'de> Deserialize<'de> for EventsCursorStatus
impl<'de> Deserialize<'de> for EventsCursorStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for EventsCursorStatus
Source§impl PartialEq for EventsCursorStatus
impl PartialEq for EventsCursorStatus
Source§impl Serialize for EventsCursorStatus
impl Serialize for EventsCursorStatus
impl StructuralPartialEq for EventsCursorStatus
Auto Trait Implementations§
impl Freeze for EventsCursorStatus
impl RefUnwindSafe for EventsCursorStatus
impl Send for EventsCursorStatus
impl Sync for EventsCursorStatus
impl Unpin for EventsCursorStatus
impl UnsafeUnpin for EventsCursorStatus
impl UnwindSafe for EventsCursorStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.