Skip to main content

tick_clock_index

Function tick_clock_index 

Source
pub fn tick_clock_index(
    tick: &Tick,
    expected_clock: &Symbol,
) -> Result<Option<ClockTickIndex>>
Expand description

Extracts a comparable index for expected_clock from tick.

Returns Ok(None) when the tick belongs to another clock. Returns an error when the tick is on expected_clock but does not carry the semantic stream-clock index ref representation.