pub enum RecoverableChatUpdate {
Event {
id: RecoverableChatEventId,
event: Arc<SessionObservationEvent>,
},
ReplayGap {
snapshot: RecoverableChatSnapshot,
gap: LiveReplayGap,
},
TerminalReplacement {
id: RecoverableChatEventId,
event: Arc<SessionObservationEvent>,
snapshot: RecoverableChatSnapshot,
},
}Expand description
Update yielded by RecoverableChatSubscription.
Variants§
Event
A provisional or lifecycle observation with stable redelivery identity.
ReplayGap
The requested cursor fell outside bounded replay. Replace the
projection from snapshot, persist gap.latest_cursor, and continue
consuming this same stream.
TerminalReplacement
A terminal commit replaces provisional state with this authoritative snapshot. The committed event is retained for remote encoding and tracing, but the snapshot is the transcript authority.
Trait Implementations§
Source§impl Clone for RecoverableChatUpdate
impl Clone for RecoverableChatUpdate
Source§fn clone(&self) -> RecoverableChatUpdate
fn clone(&self) -> RecoverableChatUpdate
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 moreAuto Trait Implementations§
impl Freeze for RecoverableChatUpdate
impl RefUnwindSafe for RecoverableChatUpdate
impl Send for RecoverableChatUpdate
impl Sync for RecoverableChatUpdate
impl Unpin for RecoverableChatUpdate
impl UnsafeUnpin for RecoverableChatUpdate
impl UnwindSafe for RecoverableChatUpdate
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