Struct sqlx_core::mssql::MssqlConnectOptions
source · pub struct MssqlConnectOptions { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Clone for MssqlConnectOptions
impl Clone for MssqlConnectOptions
source§fn clone(&self) -> MssqlConnectOptions
fn clone(&self) -> MssqlConnectOptions
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 MssqlConnectOptions
impl ConnectOptions for MssqlConnectOptions
type Connection = MssqlConnection
source§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(&mut self, level: LevelFilter) -> &mut Self
fn log_statements(&mut self, level: LevelFilter) -> &mut Self
Log executed statements with the specified
level
source§fn log_slow_statements(
&mut self,
level: LevelFilter,
duration: Duration
) -> &mut Self
fn log_slow_statements( &mut self, level: LevelFilter, duration: Duration ) -> &mut Self
Log executed statements with a duration above the specified
duration
at the specified level
.source§fn disable_statement_logging(&mut self) -> &mut Self
fn disable_statement_logging(&mut self) -> &mut Self
Entirely disables statement logging (both slow and regular).
source§impl Debug for MssqlConnectOptions
impl Debug for MssqlConnectOptions
source§impl Default for MssqlConnectOptions
impl Default for MssqlConnectOptions
source§impl From<MssqlConnectOptions> for AnyConnectOptions
impl From<MssqlConnectOptions> for AnyConnectOptions
source§fn from(options: MssqlConnectOptions) -> Self
fn from(options: MssqlConnectOptions) -> Self
Converts to this type from the input type.