pub struct Runtime(/* private fields */);Expand description
Proof that process-wide SQLite configuration is installed.
Implementations§
Source§impl Runtime
impl Runtime
Sourcepub fn install(permit: Permit) -> Result<Self, Error>
pub fn install(permit: Permit) -> Result<Self, Error>
Installs private native caches with a 20-page initial batch before workers start.
Requires writable static data and no statement logging or statement virtual table.
Build with LIBSQLITE3_FLAGS=-USQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS.
Trait Implementations§
impl Copy for Runtime
impl Eq for Runtime
impl StructuralPartialEq for Runtime
Auto Trait Implementations§
impl Forget for Runtime
impl Freeze for Runtime
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnsafeUnpin for Runtime
impl UnwindSafe for Runtime
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more