mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-26 19:34:24 +01:00
20 lines
290 B
Rust
20 lines
290 B
Rust
use crate::PageRef;
|
|
|
|
#[derive(Debug, Clone)]
|
|
pub enum EmptyTableState {
|
|
Start,
|
|
ReadPage { page: PageRef },
|
|
}
|
|
|
|
#[derive(Debug, Clone, Copy)]
|
|
pub enum MoveToRightState {
|
|
Start,
|
|
ProcessPage,
|
|
}
|
|
|
|
#[derive(Debug, Clone, Copy)]
|
|
pub enum SeekToLastState {
|
|
Start,
|
|
IsEmpty,
|
|
}
|