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 started from the beginning of the remaining history.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EventsCursorStatus
Source§impl PartialEq for EventsCursorStatus
impl PartialEq for EventsCursorStatus
Source§fn eq(&self, other: &EventsCursorStatus) -> bool
fn eq(&self, other: &EventsCursorStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.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
Mutably borrows from an owned value. Read more