Struct libsql_sys::ffi::sqlite3_pcache_methods  
source · #[repr(C)]pub struct sqlite3_pcache_methods {
    pub pArg: *mut c_void,
    pub xInit: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>,
    pub xShutdown: Option<unsafe extern "C" fn(_: *mut c_void)>,
    pub xCreate: Option<unsafe extern "C" fn(_: i32, _: i32) -> *mut sqlite3_pcache>,
    pub xCachesize: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: i32)>,
    pub xPagecount: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache) -> i32>,
    pub xFetch: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: u32, _: i32) -> *mut c_void>,
    pub xUnpin: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut c_void, _: i32)>,
    pub xRekey: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut c_void, _: u32, _: u32)>,
    pub xTruncate: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: u32)>,
    pub xDestroy: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>,
}Fields§
§pArg: *mut c_void§xInit: Option<unsafe extern "C" fn(_: *mut c_void) -> i32>§xShutdown: Option<unsafe extern "C" fn(_: *mut c_void)>§xCreate: Option<unsafe extern "C" fn(_: i32, _: i32) -> *mut sqlite3_pcache>§xCachesize: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: i32)>§xPagecount: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache) -> i32>§xFetch: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: u32, _: i32) -> *mut c_void>§xUnpin: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut c_void, _: i32)>§xRekey: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut c_void, _: u32, _: u32)>§xTruncate: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: u32)>§xDestroy: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>Trait Implementations§
source§impl Clone for sqlite3_pcache_methods
 
impl Clone for sqlite3_pcache_methods
source§fn clone(&self) -> sqlite3_pcache_methods
 
fn clone(&self) -> sqlite3_pcache_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 sqlite3_pcache_methods
 
impl Debug for sqlite3_pcache_methods
impl Copy for sqlite3_pcache_methods
Auto Trait Implementations§
impl RefUnwindSafe for sqlite3_pcache_methods
impl !Send for sqlite3_pcache_methods
impl !Sync for sqlite3_pcache_methods
impl Unpin for sqlite3_pcache_methods
impl UnwindSafe for sqlite3_pcache_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