[][src]Struct sqlite3_native::sqlite3

#[repr(C)]pub struct sqlite3 {
    pub pVfs: *mut sqlite3_vfs,
    pub pVdbe: *mut Vdbe,
    pub pDfltColl: *mut CollSeq,
    pub mutex: *mut sqlite3_mutex,
    pub aDb: *mut Db,
    pub nDb: c_int,
    pub mDbFlags: u32_0,
    pub flags: u64_0,
    pub lastRowid: i64_0,
    pub szMmap: i64_0,
    pub nSchemaLock: u32_0,
    pub openFlags: c_uint,
    pub errCode: c_int,
    pub errMask: c_int,
    pub iSysErrno: c_int,
    pub dbOptFlags: u16_0,
    pub enc: u8_0,
    pub autoCommit: u8_0,
    pub temp_store: u8_0,
    pub mallocFailed: u8_0,
    pub bBenignMalloc: u8_0,
    pub dfltLockMode: u8_0,
    pub nextAutovac: c_schar,
    pub suppressErr: u8_0,
    pub vtabOnConflict: u8_0,
    pub isTransactionSavepoint: u8_0,
    pub mTrace: u8_0,
    pub noSharedCache: u8_0,
    pub nSqlExec: u8_0,
    pub nextPagesize: c_int,
    pub magic: u32_0,
    pub nChange: c_int,
    pub nTotalChange: c_int,
    pub aLimit: [c_int; 12],
    pub nMaxSorterMmap: c_int,
    pub init: sqlite3InitInfo,
    pub nVdbeActive: c_int,
    pub nVdbeRead: c_int,
    pub nVdbeWrite: c_int,
    pub nVdbeExec: c_int,
    pub nVDestroy: c_int,
    pub nExtension: c_int,
    pub aExtension: *mut *mut c_void,
    pub xTrace: Option<unsafe extern "C" fn(_: u32_0, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_int>,
    pub pTraceArg: *mut c_void,
    pub xProfile: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_char, _: u64_0)>,
    pub pProfileArg: *mut c_void,
    pub pCommitArg: *mut c_void,
    pub xCommitCallback: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>,
    pub pRollbackArg: *mut c_void,
    pub xRollbackCallback: Option<unsafe extern "C" fn(_: *mut c_void)>,
    pub pUpdateArg: *mut c_void,
    pub xUpdateCallback: Option<unsafe extern "C" fn(_: *mut c_void, _: c_int, _: *const c_char, _: *const c_char, _: sqlite_int64)>,
    pub pParse: *mut Parse,
    pub xWalCallback: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: *const c_char, _: c_int) -> c_int>,
    pub pWalArg: *mut c_void,
    pub xCollNeeded: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: c_int, _: *const c_char)>,
    pub xCollNeeded16: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: c_int, _: *const c_void)>,
    pub pCollNeededArg: *mut c_void,
    pub pErr: *mut sqlite3_value,
    pub u1: C2RustUnnamed_11,
    pub lookaside: Lookaside,
    pub xAuth: sqlite3_xauth,
    pub pAuthArg: *mut c_void,
    pub xProgress: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>,
    pub pProgressArg: *mut c_void,
    pub nProgressOps: c_uint,
    pub nVTrans: c_int,
    pub aModule: Hash,
    pub pVtabCtx: *mut VtabCtx,
    pub aVTrans: *mut *mut VTable,
    pub pDisconnect: *mut VTable,
    pub aFunc: Hash,
    pub aCollSeq: Hash,
    pub busyHandler: BusyHandler,
    pub aDbStatic: [Db; 2],
    pub pSavepoint: *mut Savepoint,
    pub nAnalysisLimit: c_int,
    pub busyTimeout: c_int,
    pub nSavepoint: c_int,
    pub nStatement: c_int,
    pub nDeferredCons: i64_0,
    pub nDeferredImmCons: i64_0,
    pub pnBytesFreed: *mut c_int,
}

Fields

pVfs: *mut sqlite3_vfspVdbe: *mut VdbepDfltColl: *mut CollSeqmutex: *mut sqlite3_mutexaDb: *mut DbnDb: c_intmDbFlags: u32_0flags: u64_0lastRowid: i64_0szMmap: i64_0nSchemaLock: u32_0openFlags: c_uinterrCode: c_interrMask: c_intiSysErrno: c_intdbOptFlags: u16_0enc: u8_0autoCommit: u8_0temp_store: u8_0mallocFailed: u8_0bBenignMalloc: u8_0dfltLockMode: u8_0nextAutovac: c_scharsuppressErr: u8_0vtabOnConflict: u8_0isTransactionSavepoint: u8_0mTrace: u8_0noSharedCache: u8_0nSqlExec: u8_0nextPagesize: c_intmagic: u32_0nChange: c_intnTotalChange: c_intaLimit: [c_int; 12]nMaxSorterMmap: c_intinit: sqlite3InitInfonVdbeActive: c_intnVdbeRead: c_intnVdbeWrite: c_intnVdbeExec: c_intnVDestroy: c_intnExtension: c_intaExtension: *mut *mut c_voidxTrace: Option<unsafe extern "C" fn(_: u32_0, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_int>pTraceArg: *mut c_voidxProfile: Option<unsafe extern "C" fn(_: *mut c_void, _: *const c_char, _: u64_0)>pProfileArg: *mut c_voidpCommitArg: *mut c_voidxCommitCallback: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>pRollbackArg: *mut c_voidxRollbackCallback: Option<unsafe extern "C" fn(_: *mut c_void)>pUpdateArg: *mut c_voidxUpdateCallback: Option<unsafe extern "C" fn(_: *mut c_void, _: c_int, _: *const c_char, _: *const c_char, _: sqlite_int64)>pParse: *mut ParsexWalCallback: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: *const c_char, _: c_int) -> c_int>pWalArg: *mut c_voidxCollNeeded: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: c_int, _: *const c_char)>xCollNeeded16: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut sqlite3, _: c_int, _: *const c_void)>pCollNeededArg: *mut c_voidpErr: *mut sqlite3_valueu1: C2RustUnnamed_11lookaside: LookasidexAuth: sqlite3_xauthpAuthArg: *mut c_voidxProgress: Option<unsafe extern "C" fn(_: *mut c_void) -> c_int>pProgressArg: *mut c_voidnProgressOps: c_uintnVTrans: c_intaModule: HashpVtabCtx: *mut VtabCtxaVTrans: *mut *mut VTablepDisconnect: *mut VTableaFunc: HashaCollSeq: HashbusyHandler: BusyHandleraDbStatic: [Db; 2]pSavepoint: *mut SavepointnAnalysisLimit: c_intbusyTimeout: c_intnSavepoint: c_intnStatement: c_intnDeferredCons: i64_0nDeferredImmCons: i64_0pnBytesFreed: *mut c_int

Trait Implementations

impl Clone for sqlite3[src]

impl Copy for sqlite3[src]

Auto Trait Implementations

impl !RefUnwindSafe for sqlite3

impl !Send for sqlite3

impl !Sync for sqlite3

impl Unpin for sqlite3

impl !UnwindSafe for sqlite3

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.