Re-exports§
Modules§
Macros§
- bail_
constraint_ error - bail_
corrupt_ error - bail_
parse_ error - must_
be_ btree_ cursor - return_
corrupt - return_
if_ io - If there is I/O, the instruction is restarted.
Evaluate a Result<CursorResult
>, if IO return Ok(StepResult::IO).
Structs§
- Buffer
- Buffer
Pool - Checkpoint
Result - Connection
- Database
- Instant
- MemoryIO
- Open
Flags - Page
- Pager
- The pager interface implements the persistence layer by providing access to pages of the database file, including caching, concurrency control, and transaction management.
- PlatformIO
- UnixIO lives longer than any of the files it creates, so it is safe to store references to it’s internals in the UnixFiles
- Query
Runner - Statement
- Symbol
Table - SyscallIO
- UnixIO lives longer than any of the files it creates, so it is safe to store references to it’s internals in the UnixFiles
- UnixIO
- UnixIO lives longer than any of the files it creates, so it is safe to store references to it’s internals in the UnixFiles
- WalFile
- WalFile
Shared - WalFileShared is the part of a WAL that will be shared between threads. A wal has information that needs to be communicated between threads so this struct does the job.
- Write
Completion
Enums§
- Checkpoint
Mode - Checkpoint
Status - Completion
- Limbo
Error - Pager
Cacheflush Status - The status of the current cache flush. A Done state means that the WAL was committed to disk and fsynced, plus potentially checkpointed to the DB (and the DB then fsynced).
Statics§
Traits§
- Clock
- Database
Storage - DatabaseStorage is an interface a database file that consists of pages.
- File
- IO
- Wal
- Write-ahead log (WAL).