Skip to main content

SqlitePartitionedCursor

Type Alias SqlitePartitionedCursor 

Source
pub type SqlitePartitionedCursor = PartitionedCursor<SqliteCursor>;
Expand description

SQLite coordinated reader: thin alias over the generic core type.

Why these aliases live here:

CoordinatedReader<R, Coord> is fully generic in eventuary-core โ€” it composes any partition-aware Reader<R> with any PartitionCoordinator<C> and contains no SQLite-specific code. Every backend therefore only needs pub type aliases to specialize the generic with its own reader and coordinator (SqliteReader + SqlitePartitionCoordinator). The same module path shape is preserved across backends so users learn one structure once.

These aliases shorten call sites โ€” SqliteCoordinatedReader reads better than CoordinatedReader<SqliteReader, SqlitePartitionCoordinator> โ€” and give the umbrella a canonical, discoverable path next to writer and coordinator modules.

Aliased Typeยง

pub struct SqlitePartitionedCursor { /* private fields */ }