Struct sqlx_rqlite::RqliteConnectOptions
source · pub struct RqliteConnectOptions { /* private fields */ }Trait Implementations§
source§impl Clone for RqliteConnectOptions
impl Clone for RqliteConnectOptions
source§fn clone(&self) -> RqliteConnectOptions
fn clone(&self) -> RqliteConnectOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl ConnectOptions for RqliteConnectOptions
impl ConnectOptions for RqliteConnectOptions
type Connection = RqliteConnection
source§fn to_url_lossy(&self) -> Url
fn to_url_lossy(&self) -> Url
Get a connection URL that may be used to connect to the same database as this
ConnectOptions. Read moresource§fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, Error>>where
Self::Connection: Sized,
fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, Error>>where
Self::Connection: Sized,
Establish a new database connection with the options specified by
self.source§fn log_statements(self, _level: LevelFilter) -> Self
fn log_statements(self, _level: LevelFilter) -> Self
Log executed statements with the specified
levelsource§fn log_slow_statements(self, _level: LevelFilter, _duration: Duration) -> Self
fn log_slow_statements(self, _level: LevelFilter, _duration: Duration) -> Self
Log executed statements with a duration above the specified
duration
at the specified level.source§fn disable_statement_logging(self) -> Self
fn disable_statement_logging(self) -> Self
Entirely disables statement logging (both slow and regular).
source§impl Debug for RqliteConnectOptions
impl Debug for RqliteConnectOptions
Auto Trait Implementations§
impl Freeze for RqliteConnectOptions
impl RefUnwindSafe for RqliteConnectOptions
impl Send for RqliteConnectOptions
impl Sync for RqliteConnectOptions
impl Unpin for RqliteConnectOptions
impl UnwindSafe for RqliteConnectOptions
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