Skip to main content

Crate powersync

Crate powersync 

Source

Modules§

env
error
schema

Structs§

ConnectionPool
A raw connection pool, giving out both synchronous and asynchronous leases to SQLite connections as well as managing update hooks.
CrudEntry
A single client-side change.
CrudTransaction
All local writes that were made in a single SQLite transaction.
PowerSyncCredentials
Credentials used to connect to a PowerSync service instance.
PowerSyncDatabase
StreamPriority
A priority assigned to a sync stream subscription.
StreamSubscription
StreamSubscriptionOptions
Options customizing a stream subscription, passed to SyncStream::subscribe_with.
SyncOptions
Options controlling how PowerSync connects to a sync service.
SyncStatusData
SyncStream

Enums§

UpdateType
Type of local change.

Traits§

BackendConnector
A backend connector is responsible for upload local writes as well as resolving JWTs used to connect to the PowerSync service.
LeasedConnection
A temporary lease of a connection taken from the ConnectionPool.