[−][src]Struct odbc_futures::SqlEnvironment
Methods
impl SqlEnvironment
[src]
pub fn new() -> SqlResult<SqlEnvironment>
[src]
pub fn set_version(&mut self, version: OdbcVersion) -> SqlResult
[src]
pub fn get_version(&mut self) -> SqlResult<OdbcVersion>
[src]
pub fn set_connection_pooling(
&mut self,
setting: SqlConnectionPooling
) -> SqlResult
[src]
&mut self,
setting: SqlConnectionPooling
) -> SqlResult
pub fn get_connection_pooling(&mut self) -> SqlResult<SqlConnectionPooling>
[src]
pub fn set_connection_pooling_match(
&mut self,
setting: SqlConnectionPoolingMatch
) -> SqlResult
[src]
&mut self,
setting: SqlConnectionPoolingMatch
) -> SqlResult
pub fn get_connection_pooling_match(
&mut self
) -> SqlResult<SqlConnectionPoolingMatch>
[src]
&mut self
) -> SqlResult<SqlConnectionPoolingMatch>
pub fn drivers(&self) -> SqlResult<Vec<SqlDriver>>
[src]
pub fn data_sources(
&self,
filter: SqlDataSourceFilter
) -> SqlResult<Vec<SqlDataSource>>
[src]
&self,
filter: SqlDataSourceFilter
) -> SqlResult<Vec<SqlDataSource>>
Trait Implementations
impl SqlHandle for SqlEnvironment
[src]
const TYPE: HandleType
[src]
type Type = SQLHENV
unsafe fn typed_handle(&self) -> SQLHENV
[src]
unsafe fn handle(&self) -> SQLHANDLE
[src]
fn diagnostics_count(&self) -> SqlResult<usize>
[src]
fn has_diagnostics(&self) -> SqlResult<bool>
[src]
fn diagnostics(&self) -> SqlResult<Vec<SqlDiagnosticRecord>>
[src]
fn get_detailed_error(&self, return_code: SQLRETURN) -> SqlError
[src]
impl SqlEndTransaction for SqlEnvironment
[src]
fn commit(&mut self) -> SqlResult
[src]
fn rollback(&mut self) -> SqlResult
[src]
fn end_transaction(&mut self, commit: bool) -> SqlResult
[src]
fn commit_async(self) -> SqlFuture<Self>
[src]
fn rollback_async(self) -> SqlFuture<Self>
[src]
fn end_transaction_async(self, commit: bool) -> SqlFuture<Self>
[src]
impl Eq for SqlEnvironment
[src]
impl Send for SqlEnvironment
[src]
impl Drop for SqlEnvironment
[src]
impl PartialEq<SqlEnvironment> for SqlEnvironment
[src]
fn eq(&self, other: &SqlEnvironment) -> bool
[src]
fn ne(&self, other: &SqlEnvironment) -> bool
[src]
impl Sync for SqlEnvironment
[src]
impl Debug for SqlEnvironment
[src]
impl Hash for SqlEnvironment
[src]
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,