Struct Struct_sqlite3_pcache_methods2

Source
#[repr(C)]
pub struct Struct_sqlite3_pcache_methods2 {
Show 13 fields pub iVersion: c_int, pub pArg: *mut c_void, pub xInit: Option<extern "C" fn(arg1: *mut c_void) -> c_int>, pub xShutdown: Option<extern "C" fn(arg1: *mut c_void)>, pub xCreate: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> *mut sqlite3_pcache>, pub xCachesize: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_int)>, pub xPagecount: Option<extern "C" fn(arg1: *mut sqlite3_pcache) -> c_int>, pub xFetch: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint, arg3: c_int) -> *mut sqlite3_pcache_page>, pub xUnpin: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_int)>, pub xRekey: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_uint, arg4: c_uint)>, pub xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint)>, pub xDestroy: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>, pub xShrink: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>,
}

Fields§

§iVersion: c_int§pArg: *mut c_void§xInit: Option<extern "C" fn(arg1: *mut c_void) -> c_int>§xShutdown: Option<extern "C" fn(arg1: *mut c_void)>§xCreate: Option<extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int) -> *mut sqlite3_pcache>§xCachesize: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_int)>§xPagecount: Option<extern "C" fn(arg1: *mut sqlite3_pcache) -> c_int>§xFetch: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint, arg3: c_int) -> *mut sqlite3_pcache_page>§xUnpin: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_int)>§xRekey: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: *mut sqlite3_pcache_page, arg3: c_uint, arg4: c_uint)>§xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_pcache, arg2: c_uint)>§xDestroy: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>§xShrink: Option<extern "C" fn(arg1: *mut sqlite3_pcache)>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.