Struct sqlx::mssql::MssqlConnectOptions [−][src]
pub struct MssqlConnectOptions { /* fields omitted */ }
This is supported on crate feature
mssql
only.Implementations
Trait Implementations
type Connection = MssqlConnection
pub fn connect(
&self
) -> Pin<Box<dyn Future<Output = Result<<MssqlConnectOptions as ConnectOptions>::Connection, Error>> + Send, Global>> where
<MssqlConnectOptions as ConnectOptions>::Connection: Sized,
pub fn connect(
&self
) -> Pin<Box<dyn Future<Output = Result<<MssqlConnectOptions as ConnectOptions>::Connection, Error>> + Send, Global>> where
<MssqlConnectOptions as ConnectOptions>::Connection: Sized,
Establish a new database connection with the options specified by self
.
Log executed statements with the specified level
pub fn log_slow_statements(
&mut self,
level: LevelFilter,
duration: Duration
) -> &mut MssqlConnectOptions
pub fn log_slow_statements(
&mut self,
level: LevelFilter,
duration: Duration
) -> &mut MssqlConnectOptions
Log executed statements with a duration above the specified duration
at the specified level
. Read more
Entirely disables statement logging (both slow and regular).
Returns the ādefault valueā for a type. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MssqlConnectOptions
impl Send for MssqlConnectOptions
impl Sync for MssqlConnectOptions
impl Unpin for MssqlConnectOptions
impl UnwindSafe for MssqlConnectOptions
Blanket Implementations
Mutably borrows from an owned value. Read more