Struct sqlx_exasol::ExaConnectOptions
source · pub struct ExaConnectOptions { /* private fields */ }Expand description
Options for connecting to the Exasol database.
While generally automatically created through a connection string,
ExaConnectOptions::builder() can be used to get a ExaConnectOptionsBuilder.
Implementations§
source§impl ExaConnectOptions
impl ExaConnectOptions
pub fn builder() -> ExaConnectOptionsBuilder
Trait Implementations§
source§impl Clone for ExaConnectOptions
impl Clone for ExaConnectOptions
source§fn clone(&self) -> ExaConnectOptions
fn clone(&self) -> ExaConnectOptions
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 ExaConnectOptions
impl ConnectOptions for ExaConnectOptions
type Connection = ExaConnection
source§fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, SqlxError>>where
Self::Connection: Sized,
fn connect(&self) -> BoxFuture<'_, Result<Self::Connection, SqlxError>>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 ExaConnectOptions
impl Debug for ExaConnectOptions
Auto Trait Implementations§
impl RefUnwindSafe for ExaConnectOptions
impl Send for ExaConnectOptions
impl Sync for ExaConnectOptions
impl Unpin for ExaConnectOptions
impl UnwindSafe for ExaConnectOptions
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