pub struct LoadedState {
pub schema: Vec<TableSchema>,
pub db: MemDatabase,
pub master_row_count: i64,
pub schema_cookie: u32,
pub change_counter: u32,
}Expand description
State loaded from a real SQLite file.
Fields§
§schema: Vec<TableSchema>Reconstructed table schemas.
db: MemDatabaseIn-memory database populated with all rows.
master_row_count: i64Number of sqlite_master entries loaded (the next available rowid
for sqlite_master is master_row_count + 1).
Schema cookie read from the database header (offset 40).
change_counter: u32File change counter read from the database header (offset 24).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadedState
impl RefUnwindSafe for LoadedState
impl Send for LoadedState
impl Sync for LoadedState
impl Unpin for LoadedState
impl UnsafeUnpin for LoadedState
impl UnwindSafe for LoadedState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).