pub struct RunCheckpoint {
pub current_state: usize,
pub stack: Vec<StackEntryCheckpoint>,
pub captured: HashMap<String, SerializableEvent>,
pub event_time_started_at_ms: Option<i64>,
pub event_time_deadline_ms: Option<i64>,
pub partition_key: Option<SerializableValue>,
pub invalidated: bool,
pub pending_negation_count: usize,
pub kleene_events: Option<Vec<SerializableEvent>>,
}Expand description
Checkpoint for a single SASE+ run (partial match).
Fields§
§current_state: usizeCurrent NFA state index
stack: Vec<StackEntryCheckpoint>Stack of matched events
captured: HashMap<String, SerializableEvent>Captured events by alias
event_time_started_at_ms: Option<i64>Event-time when this run started (ms since epoch)
event_time_deadline_ms: Option<i64>Event-time deadline (ms since epoch)
partition_key: Option<SerializableValue>Partition key value
invalidated: boolWhether the run is invalidated
pending_negation_count: usizeNumber of pending negation constraints
kleene_events: Option<Vec<SerializableEvent>>Kleene capture events (ZDD rebuilt on restore)
Trait Implementations§
Source§impl Clone for RunCheckpoint
impl Clone for RunCheckpoint
Source§fn clone(&self) -> RunCheckpoint
fn clone(&self) -> RunCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 RunCheckpoint
impl Debug for RunCheckpoint
Source§impl<'de> Deserialize<'de> for RunCheckpoint
impl<'de> Deserialize<'de> for RunCheckpoint
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
Auto Trait Implementations§
impl Freeze for RunCheckpoint
impl RefUnwindSafe for RunCheckpoint
impl Send for RunCheckpoint
impl Sync for RunCheckpoint
impl Unpin for RunCheckpoint
impl UnsafeUnpin for RunCheckpoint
impl UnwindSafe for RunCheckpoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more