[][src]Struct sqlite3_native::sqlite3_pcache_methods2

#[repr(C)]pub struct sqlite3_pcache_methods2 {
    pub iVersion: c_int,
    pub pArg: *mut c_void,
    pub xInit: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>,
    pub xShutdown: Option<unsafe extern "C" fn(_: *mut c_void)>,
    pub xCreate: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: c_int) -> *mut sqlite3_pcache>,
    pub xCachesize: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_int)>,
    pub xPagecount: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache) -> c_int>,
    pub xFetch: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_uint, _: c_int) -> *mut sqlite3_pcache_page>,
    pub xUnpin: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut sqlite3_pcache_page, _: c_int)>,
    pub xRekey: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut sqlite3_pcache_page, _: c_uint, _: c_uint)>,
    pub xTruncate: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_uint)>,
    pub xDestroy: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>,
    pub xShrink: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>,
}

Fields

iVersion: c_intpArg: *mut c_voidxInit: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>xShutdown: Option<unsafe extern "C" fn(_: *mut c_void)>xCreate: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: c_int) -> *mut sqlite3_pcache>xCachesize: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_int)>xPagecount: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache) -> c_int>xFetch: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_uint, _: c_int) -> *mut sqlite3_pcache_page>xUnpin: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut sqlite3_pcache_page, _: c_int)>xRekey: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: *mut sqlite3_pcache_page, _: c_uint, _: c_uint)>xTruncate: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache, _: c_uint)>xDestroy: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>xShrink: Option<unsafe extern "C" fn(_: *mut sqlite3_pcache)>

Trait Implementations

impl Clone for sqlite3_pcache_methods2[src]

impl Copy for sqlite3_pcache_methods2[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.