Skip to main content

Crate fsqlite

Crate fsqlite 

Source
Expand description

Public API facade for FrankenSQLite.

This crate will grow a stable, ergonomic API surface over time. In early phases it also re-exports selected internal crates for integration tests.

Re-exports§

pub use fsqlite_vfs;

Modules§

compat
rusqlite-compatible adapter layer for FrankenSQLite.
migrate
Lightweight schema migration framework for FrankenSQLite.

Macros§

params
Construct a parameter slice from heterogeneous values, analogous to rusqlite::params!.

Structs§

BoundedDatabaseStructuralStats
Whole-database-image capture, bounded structural proof, and publication.
BoundedStructuralSnapshot
A pinned, structurally-proven snapshot of an external database image.
Connection
ConnectionEnv
Connection-scoped environment for selecting the runtime context and tuning resource limits.
DatabaseBuilderReservation
An atomically claimed, identity-bound pathname for building a replacement database image.
DatabaseImageReceipt
DatabaseNamespaceGenerationTransition
Exclusive namespace lease spanning caller-owned generation replacement.
FileIdentity
Opaque identity of an already-open filesystem object.
PageCachePeakSnapshot
Whole-database-image capture, bounded structural proof, and publication.
PendingDatabaseImagePublication
A whole-image publication held open at the last point before commit.
PreparedStatement
Row
A database row produced by a query.
RuntimeConfig
Configuration for the process-global runtime context.
RuntimeContext
Process-global runtime handle shared by all database regions.
TraceMask
Compatibility mask for sqlite3_trace_v2-style callbacks.
WriteSetStats
Whole-database-image capture, bounded structural proof, and publication.

Enums§

DatabaseImagePublication
Outcome of a whole-database-image publication that crossed its commit point.
DatabaseImagePublicationErrorClass
Durable outcome class for a failed whole-database-image publication.
FrankenError
Primary error type for FrankenSQLite operations.
IoPollStrategy
I/O polling strategy for the shared runtime context.
NamespaceGenerationTransitionOutcome
Durable result of an exact namespace-generation transition.
SqliteValue
A dynamically-typed SQLite value.
TraceEvent
sqlite3_trace_v2-style callback event payload.

Functions§

begin_database_namespace_generation_transition
Begin an exact namespace-generation transition before mutating the path.
init_global_runtime
Install or replace the process-global runtime context used by Connection::open.