mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-23 19:24:19 +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,
|
|
}
|