pub enum GapReason {
ReconnectedAfterDisconnect,
ProcessRestart,
}Expand description
Reason a synthetic ObservedEvent of topic "gap" was injected.
Surfaced to the client so they know they missed something.
Variants§
ReconnectedAfterDisconnect
The connector reconnected — anything that happened while disconnected is permanently gone from the upstream feed.
ProcessRestart
Process restarted — ring buffers were freshly initialised.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GapReason
impl RefUnwindSafe for GapReason
impl Send for GapReason
impl Sync for GapReason
impl Unpin for GapReason
impl UnsafeUnpin for GapReason
impl UnwindSafe for GapReason
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