[]Struct c3p0_pool_sqlite::rusqlite::ffi::sqlite3_io_methods

#[repr(C)]
pub struct sqlite3_io_methods {
    pub iVersion: i32,
    pub xClose: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>,
    pub xRead: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut c_void, i32, i64) -> i32>,
    pub xWrite: Option<unsafe extern "C" fn(*mut sqlite3_file, *const c_void, i32, i64) -> i32>,
    pub xTruncate: Option<unsafe extern "C" fn(*mut sqlite3_file, i64) -> i32>,
    pub xSync: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>,
    pub xFileSize: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut i64) -> i32>,
    pub xLock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>,
    pub xUnlock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>,
    pub xCheckReservedLock: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut i32) -> i32>,
    pub xFileControl: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, *mut c_void) -> i32>,
    pub xSectorSize: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>,
    pub xDeviceCharacteristics: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>,
    pub xShmMap: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, i32, i32, *mut *mut c_void) -> i32>,
    pub xShmLock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, i32, i32) -> i32>,
    pub xShmBarrier: Option<unsafe extern "C" fn(*mut sqlite3_file)>,
    pub xShmUnmap: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>,
    pub xFetch: Option<unsafe extern "C" fn(*mut sqlite3_file, i64, i32, *mut *mut c_void) -> i32>,
    pub xUnfetch: Option<unsafe extern "C" fn(*mut sqlite3_file, i64, *mut c_void) -> i32>,
}

Fields

iVersion: i32xClose: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>xRead: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut c_void, i32, i64) -> i32>xWrite: Option<unsafe extern "C" fn(*mut sqlite3_file, *const c_void, i32, i64) -> i32>xTruncate: Option<unsafe extern "C" fn(*mut sqlite3_file, i64) -> i32>xSync: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>xFileSize: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut i64) -> i32>xLock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>xUnlock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>xCheckReservedLock: Option<unsafe extern "C" fn(*mut sqlite3_file, *mut i32) -> i32>xFileControl: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, *mut c_void) -> i32>xSectorSize: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>xDeviceCharacteristics: Option<unsafe extern "C" fn(*mut sqlite3_file) -> i32>xShmMap: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, i32, i32, *mut *mut c_void) -> i32>xShmLock: Option<unsafe extern "C" fn(*mut sqlite3_file, i32, i32, i32) -> i32>xShmBarrier: Option<unsafe extern "C" fn(*mut sqlite3_file)>xShmUnmap: Option<unsafe extern "C" fn(*mut sqlite3_file, i32) -> i32>xFetch: Option<unsafe extern "C" fn(*mut sqlite3_file, i64, i32, *mut *mut c_void) -> i32>xUnfetch: Option<unsafe extern "C" fn(*mut sqlite3_file, i64, *mut c_void) -> i32>

Trait Implementations

impl Debug for sqlite3_io_methods

impl Clone for sqlite3_io_methods

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

Performs copy-assignment from source. Read more

impl Copy for sqlite3_io_methods

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]