#[repr(u8)]pub enum PageType {
Show 13 variants
Free = 0,
BTreeLeaf = 1,
BTreeInterior = 2,
Overflow = 3,
Vector = 4,
FreelistTrunk = 5,
Header = 6,
GraphNode = 7,
GraphEdge = 8,
GraphAdjacency = 9,
GraphMeta = 10,
NativeMeta = 11,
Vault = 12,
}Expand description
Page type enumeration
Based on Turso core/storage/sqlite3_ondisk.rs PageType definitions.
Variants§
Free = 0
Free page (available for allocation)
BTreeLeaf = 1
B-tree leaf page (contains key-value pairs)
BTreeInterior = 2
B-tree interior page (contains keys and child pointers)
Overflow = 3
Overflow page (continuation of large values)
Vector = 4
Vector data page (dense vector storage)
FreelistTrunk = 5
Freelist trunk page (tracks free pages)
Header = 6
Database header page (page 0)
GraphNode = 7
Graph node page (packed node records)
GraphEdge = 8
Graph edge page (packed edge records)
GraphAdjacency = 9
Graph adjacency list page (outgoing edges per node)
GraphMeta = 10
Graph metadata page (statistics, index roots)
NativeMeta = 11
Native physical metadata page (engine-published auxiliary state)
Vault = 12
Encrypted auth vault page (users, API keys, bootstrap state)
Implementations§
Trait Implementations§
impl Copy for PageType
impl Eq for PageType
impl StructuralPartialEq for PageType
Auto Trait Implementations§
impl Freeze for PageType
impl RefUnwindSafe for PageType
impl Send for PageType
impl Sync for PageType
impl Unpin for PageType
impl UnsafeUnpin for PageType
impl UnwindSafe for PageType
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request