pub struct SqliteStatement<'conn> { /* private fields */ }Implementations§
Source§impl<'conn> SqliteStatement<'conn>
impl<'conn> SqliteStatement<'conn>
pub fn new( conn: &'conn Connection, statement: &str, ) -> ForensicResult<SqliteStatement<'conn>>
Trait Implementations§
Source§impl<'conn> SqlStatement for SqliteStatement<'conn>
impl<'conn> SqlStatement for SqliteStatement<'conn>
Source§fn column_count(&self) -> usize
fn column_count(&self) -> usize
Return the number of columns.
Source§fn column_name(&self, i: usize) -> Option<&str>
fn column_name(&self, i: usize) -> Option<&str>
Return the name of a column. The first column has index 0.
Source§fn column_names(&self) -> Vec<&str>
fn column_names(&self) -> Vec<&str>
Return column names.
Source§fn column_type(&self, i: usize) -> ColumnType
fn column_type(&self, i: usize) -> ColumnType
Return the type of a column. The first column has index 0.
Source§fn next(&mut self) -> ForensicResult<bool>
fn next(&mut self) -> ForensicResult<bool>
Advance to the next state until there no more data is available (return=Ok(false)).
Source§fn read(&self, i: usize) -> ForensicResult<ColumnValue>
fn read(&self, i: usize) -> ForensicResult<ColumnValue>
Read a value from a column. The first column has index 0.
Auto Trait Implementations§
impl<'conn> Freeze for SqliteStatement<'conn>
impl<'conn> RefUnwindSafe for SqliteStatement<'conn>
impl<'conn> !Send for SqliteStatement<'conn>
impl<'conn> !Sync for SqliteStatement<'conn>
impl<'conn> Unpin for SqliteStatement<'conn>
impl<'conn> UnwindSafe for SqliteStatement<'conn>
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