Skip to main content

NativeDatabase

Type Alias NativeDatabase 

Source
pub type NativeDatabase = Database<RusqliteBackend>;
Expand description

The native, synchronous Database.

Alias for the default Database monomorphisation over RusqliteBackend. It exposes the historical synchronous public API unchanged: each method drives an async handler future to completion with block_on. Because the native backend’s futures never suspend, that block_on never parks the thread.

Aliased Type§

pub struct NativeDatabase { /* private fields */ }