#[repr(C)]pub struct libsql_wal_methods {Show 28 fields
pub iVersion: i32,
pub xLimit: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i64)>,
pub xBeginReadTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut i32) -> i32>,
pub xEndReadTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl)>,
pub xFindFrame: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: *mut u32) -> i32>,
pub xReadFrame: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: i32, _: *mut u8) -> i32>,
pub xReadFrameRaw: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: i32, _: *mut u8) -> i32>,
pub xDbsize: Option<unsafe extern "C" fn(_: *mut wal_impl) -> u32>,
pub xBeginWriteTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xEndWriteTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xUndo: Option<unsafe extern "C" fn(_: *mut wal_impl, _: Option<unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32>, _: *mut c_void) -> i32>,
pub xSavepoint: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut u32)>,
pub xSavepointUndo: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut u32) -> i32>,
pub xFrameCount: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32, _: *mut u32) -> i32>,
pub xFrames: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32, _: *mut libsql_pghdr, _: u32, _: i32, _: i32, _: *mut i32) -> i32>,
pub xCheckpoint: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3, _: i32, _: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut c_void, _: i32, _: i32, _: *mut u8, _: *mut i32, _: *mut i32, _: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *const u8, _: i32, _: i32, _: i32) -> i32>, _: *mut c_void) -> i32>,
pub xCallback: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xExclusiveMode: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32) -> i32>,
pub xHeapMemory: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xSnapshotGet: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut *mut sqlite3_snapshot) -> i32>,
pub xSnapshotOpen: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3_snapshot)>,
pub xSnapshotRecover: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xSnapshotCheck: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3_snapshot) -> i32>,
pub xSnapshotUnlock: Option<unsafe extern "C" fn(_: *mut wal_impl)>,
pub xFramesize: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>,
pub xFile: Option<unsafe extern "C" fn(_: *mut wal_impl) -> *mut sqlite3_file>,
pub xWriteLock: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32) -> i32>,
pub xDb: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3)>,
}Fields§
§iVersion: i32§xLimit: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i64)>§xBeginReadTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut i32) -> i32>§xEndReadTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl)>§xFindFrame: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: *mut u32) -> i32>§xReadFrame: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: i32, _: *mut u8) -> i32>§xReadFrameRaw: Option<unsafe extern "C" fn(_: *mut wal_impl, _: u32, _: i32, _: *mut u8) -> i32>§xDbsize: Option<unsafe extern "C" fn(_: *mut wal_impl) -> u32>§xBeginWriteTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xEndWriteTransaction: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xUndo: Option<unsafe extern "C" fn(_: *mut wal_impl, _: Option<unsafe extern "C" fn(_: *mut c_void, _: u32) -> i32>, _: *mut c_void) -> i32>§xSavepoint: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut u32)>§xSavepointUndo: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut u32) -> i32>§xFrameCount: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32, _: *mut u32) -> i32>§xFrames: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32, _: *mut libsql_pghdr, _: u32, _: i32, _: i32, _: *mut i32) -> i32>§xCheckpoint: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3, _: i32, _: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>, _: *mut c_void, _: i32, _: i32, _: *mut u8, _: *mut i32, _: *mut i32, _: Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: *const u8, _: i32, _: i32, _: i32) -> i32>, _: *mut c_void) -> i32>§xCallback: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xExclusiveMode: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32) -> i32>§xHeapMemory: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xSnapshotGet: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut *mut sqlite3_snapshot) -> i32>§xSnapshotOpen: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3_snapshot)>§xSnapshotRecover: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xSnapshotCheck: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3_snapshot) -> i32>§xSnapshotUnlock: Option<unsafe extern "C" fn(_: *mut wal_impl)>§xFramesize: Option<unsafe extern "C" fn(_: *mut wal_impl) -> i32>§xFile: Option<unsafe extern "C" fn(_: *mut wal_impl) -> *mut sqlite3_file>§xWriteLock: Option<unsafe extern "C" fn(_: *mut wal_impl, _: i32) -> i32>§xDb: Option<unsafe extern "C" fn(_: *mut wal_impl, _: *mut sqlite3)>Trait Implementations§
Source§impl Clone for libsql_wal_methods
impl Clone for libsql_wal_methods
Source§fn clone(&self) -> libsql_wal_methods
fn clone(&self) -> libsql_wal_methods
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 Debug for libsql_wal_methods
impl Debug for libsql_wal_methods
impl Copy for libsql_wal_methods
Auto Trait Implementations§
impl Freeze for libsql_wal_methods
impl RefUnwindSafe for libsql_wal_methods
impl Send for libsql_wal_methods
impl Sync for libsql_wal_methods
impl Unpin for libsql_wal_methods
impl UnwindSafe for libsql_wal_methods
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