Struct Struct_sqlite3_io_methods

Source
#[repr(C)]
pub struct Struct_sqlite3_io_methods {
Show 19 fields pub iVersion: c_int, pub xClose: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>, pub xRead: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut c_void, arg3: c_int, arg4: sqlite3_int64) -> c_int>, pub xWrite: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *const c_void, arg3: c_int, arg4: sqlite3_int64) -> c_int>, pub xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64) -> c_int>, pub xSync: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>, pub xFileSize: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut sqlite3_int64) -> c_int>, pub xLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>, pub xUnlock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>, pub xCheckReservedLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut c_int) -> c_int>, pub xFileControl: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: *mut c_void) -> c_int>, pub xSectorSize: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>, pub xDeviceCharacteristics: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>, pub xShmMap: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: c_int, arg4: c_int, arg5: *mut *mut c_void) -> c_int>, pub xShmLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: c_int, arg4: c_int) -> c_int>, pub xShmBarrier: Option<extern "C" fn(arg1: *mut sqlite3_file)>, pub xShmUnmap: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>, pub xFetch: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64, arg3: c_int, arg4: *mut *mut c_void) -> c_int>, pub xUnfetch: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64, arg3: *mut c_void) -> c_int>,
}

Fields§

§iVersion: c_int§xClose: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>§xRead: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut c_void, arg3: c_int, arg4: sqlite3_int64) -> c_int>§xWrite: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *const c_void, arg3: c_int, arg4: sqlite3_int64) -> c_int>§xTruncate: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64) -> c_int>§xSync: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>§xFileSize: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut sqlite3_int64) -> c_int>§xLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>§xUnlock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>§xCheckReservedLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: *mut c_int) -> c_int>§xFileControl: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: *mut c_void) -> c_int>§xSectorSize: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>§xDeviceCharacteristics: Option<extern "C" fn(arg1: *mut sqlite3_file) -> c_int>§xShmMap: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: c_int, arg4: c_int, arg5: *mut *mut c_void) -> c_int>§xShmLock: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int, arg3: c_int, arg4: c_int) -> c_int>§xShmBarrier: Option<extern "C" fn(arg1: *mut sqlite3_file)>§xShmUnmap: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: c_int) -> c_int>§xFetch: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64, arg3: c_int, arg4: *mut *mut c_void) -> c_int>§xUnfetch: Option<extern "C" fn(arg1: *mut sqlite3_file, arg2: sqlite3_int64, arg3: *mut c_void) -> c_int>

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.