[]Struct c3p0_pool_sqlite::rusqlite::ffi::sqlite3_pcache_methods2

#[repr(C)]
pub struct sqlite3_pcache_methods2 {
    pub iVersion: i32,
    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, 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 sqlite3_pcache_page>,
    pub xUnpin: Option<unsafe extern "C" fn(*mut sqlite3_pcache, *mut sqlite3_pcache_page, i32)>,
    pub xRekey: Option<unsafe extern "C" fn(*mut sqlite3_pcache, *mut sqlite3_pcache_page, u32, u32)>,
    pub xTruncate: Option<unsafe extern "C" fn(*mut sqlite3_pcache, u32)>,
    pub xDestroy: Option<unsafe extern "C" fn(*mut sqlite3_pcache)>,
    pub xShrink: Option<unsafe extern "C" fn(*mut sqlite3_pcache)>,
}

Fields

iVersion: i32pArg: *mut c_voidxInit: 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, 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 sqlite3_pcache_page>xUnpin: Option<unsafe extern "C" fn(*mut sqlite3_pcache, *mut sqlite3_pcache_page, i32)>xRekey: Option<unsafe extern "C" fn(*mut sqlite3_pcache, *mut sqlite3_pcache_page, u32, u32)>xTruncate: Option<unsafe extern "C" fn(*mut sqlite3_pcache, u32)>xDestroy: Option<unsafe extern "C" fn(*mut sqlite3_pcache)>xShrink: Option<unsafe extern "C" fn(*mut sqlite3_pcache)>

Trait Implementations

impl Debug for sqlite3_pcache_methods2

impl Clone for sqlite3_pcache_methods2

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for sqlite3_pcache_methods2

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]