Struct libsql_sys::wal::Sqlite3WalManager
source · pub struct Sqlite3WalManager { /* private fields */ }
Expand description
SQLite3 default wal_manager implementation.
Implementations§
Trait Implementations§
source§impl Clone for Sqlite3WalManager
impl Clone for Sqlite3WalManager
source§fn clone(&self) -> Sqlite3WalManager
fn clone(&self) -> Sqlite3WalManager
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for Sqlite3WalManager
impl Default for Sqlite3WalManager
source§impl WalManager for Sqlite3WalManager
impl WalManager for Sqlite3WalManager
type Wal = Sqlite3Wal
fn open( &self, vfs: &mut Vfs, file: &mut Sqlite3File, no_shm_mode: c_int, max_log_size: i64, db_path: &CStr ) -> Result<Self::Wal>
fn close( &self, wal: &mut Self::Wal, db: &mut Sqlite3Db, sync_flags: c_int, scratch: Option<&mut [u8]> ) -> Result<()>
fn destroy_log(&self, vfs: &mut Vfs, db_path: &CStr) -> Result<()>
fn log_exists(&self, vfs: &mut Vfs, db_path: &CStr) -> Result<bool>
fn destroy(self)where
Self: Sized,
fn wrap<U>(self, wrapper: U) -> WalWrapper<U, Self>
impl Copy for Sqlite3WalManager
impl Send for Sqlite3WalManager
Safety: the create pointer is an immutable global pointer
impl Sync for Sqlite3WalManager
Auto Trait Implementations§
impl RefUnwindSafe for Sqlite3WalManager
impl Unpin for Sqlite3WalManager
impl UnwindSafe for Sqlite3WalManager
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