pub struct RecorderConn { /* private fields */ }Trait Implementations§
Source§impl SqliteConnection for RecorderConn
impl SqliteConnection for RecorderConn
Source§fn execute(&mut self, sql: &str, params: &[Value]) -> Result<u64, DbError>
fn execute(&mut self, sql: &str, params: &[Value]) -> Result<u64, DbError>
Run one statement and return the number of rows it changed. Read more
Source§fn query(
&mut self,
sql: &str,
params: &[Value],
row: &mut dyn FnMut(&dyn Row),
) -> Result<(), DbError>
fn query( &mut self, sql: &str, params: &[Value], row: &mut dyn FnMut(&dyn Row), ) -> Result<(), DbError>
Run one statement, handing each result row to
row. Read moreSource§fn execute_batch(&mut self, sql: &str) -> Result<(), DbError>
fn execute_batch(&mut self, sql: &str) -> Result<(), DbError>
Several statements in one string, no parameters: a DDL script, a migration step
(day-lite’s storage speaks this). The default runs the string as one statement;
drivers whose engine executes scripts override it (the built-in native driver does). Read more
Source§fn query_named(
&mut self,
sql: &str,
params: &[Value],
row: &mut dyn FnMut(&[String], &dyn Row),
) -> Result<(), DbError>
fn query_named( &mut self, sql: &str, params: &[Value], row: &mut dyn FnMut(&[String], &dyn Row), ) -> Result<(), DbError>
SqliteConnection::query, with the result’s column names alongside each row, for
callers that surface rows as named objects (day-lite’s JS bridge). A driver that
cannot name columns refuses rather than guessing. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RecorderConn
impl !Send for RecorderConn
impl !Sync for RecorderConn
impl !UnwindSafe for RecorderConn
impl Forget for RecorderConn
impl Freeze for RecorderConn
impl Move for RecorderConn
impl Unpin for RecorderConn
impl UnsafeUnpin for RecorderConn
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more