Oliphaunt

API Reference

Rust SDK API map for builders, runtime modes, query results, lifecycle, and data movement.

Use the Rust API reference for exact signatures. This page maps the public surface so you can jump from a product concept to the item you need.

AreaPublic surfaceUse it for
OpeningOliphaunt::builder(), OliphauntBuilderChoose root, mode, durability, runtime assets, startup identity, and extensions
Runtime modeEngineMode, native_direct(), native_broker(), native_server()Select direct, broker, or server behavior explicitly
CapabilitiesEngineCapabilities, supported_modes()Check protocol, streaming, backup, restore, extension, and session support
SQLquery, execute, query_paramsRun simple and parameterized SQL through the selected runtime
Raw protocolexec_protocol_raw, exec_protocol_streamSend PostgreSQL protocol bytes or stream large responses
Transactionstransaction, with_transaction, SessionPinPin the physical session while a transaction is active
Lifecyclecheckpoint, cancel, closeControl active work and detach from the runtime cleanly
Data movementbackup, restore, BackupRequest, RestoreRequestExport, import, and validate physical archives
ErrorsError, PostgresError, RuntimeUnavailableHandle SDK errors and PostgreSQL SQLSTATE data

The Rust SDK is the full native mode surface for Tauri and Rust desktop apps. Use server mode when you need independent PostgreSQL clients; cloned direct-mode handles still share one serialized session.