seerdb 0.0.10

Research-grade storage engine with learned data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod eviction;
pub mod manager;

pub use eviction::{EvictionPolicy, LruPolicy};
pub use manager::{BufferPool, BufferPoolOptions, FrameRef, PageId};

use thiserror::Error;

/// `BufferPool` error types
#[derive(Debug, Error)]
pub enum BufferPoolError {
    #[error("Buffer pool is full (all frames pinned or in use)")]
    PoolFull,

    #[error("IO error: {0}")]
    Io(#[from] std::io::Error),
}