pub enum EventsCursorStatus {
Ok,
Expired,
Unknown,
}Expand description
Cursor status: ‘ok’ means the read succeeded against the requested history; ‘expired’ means the requested continuation is unavailable. Recovery is endpoint-specific: session.eventLog.read returns a boundary window of remaining active history that may overlap prior pages, while sessions.readPersistedEvents returns an empty terminal page and never switches journal generations. An expired persisted read is not successful completion; a complete persisted snapshot requires cursorStatus ‘ok’ and hasMore false.
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 read succeeded against the requested history.
Expired
The requested continuation is unavailable; see the endpoint’s recovery semantics.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for EventsCursorStatus
impl Clone for EventsCursorStatus
Source§impl Debug for EventsCursorStatus
impl Debug for EventsCursorStatus
Source§impl Default for EventsCursorStatus
impl Default for 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.