[−][src]Struct rsfbclient_rust::RustFbClient 
Firebird client implemented in pure rust
Implementations
impl RustFbClient[src]
Trait Implementations
impl FirebirdClientDbOps for RustFbClient[src]
type DbHandle = DbHandle
A database handle
type AttachmentConfig = RustFbClientAttachmentConfig
Configuration details for attaching to the database. A user of an implementation of this trait can configure attachment details (database name, user name, etcetera) and then pass this configuration to the implementation via this type when a new attachment is requested Read more
pub fn attach_database(
    &mut self, 
    config: &Self::AttachmentConfig
) -> Result<DbHandle, FbError>[src]
&mut self,
config: &Self::AttachmentConfig
) -> Result<DbHandle, FbError>
pub fn detach_database(
    &mut self, 
    db_handle: &mut DbHandle
) -> Result<(), FbError>[src]
&mut self,
db_handle: &mut DbHandle
) -> Result<(), FbError>
pub fn drop_database(&mut self, db_handle: &mut DbHandle) -> Result<(), FbError>[src]
impl FirebirdClientSqlOps for RustFbClient[src]
type DbHandle = DbHandle
A database handle
type TrHandle = TrHandle
A transaction handle
type StmtHandle = StmtHandleData
A statement handle
pub fn begin_transaction(
    &mut self, 
    db_handle: &mut Self::DbHandle, 
    isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>[src]
&mut self,
db_handle: &mut Self::DbHandle,
isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>
pub fn transaction_operation(
    &mut self, 
    tr_handle: &mut Self::TrHandle, 
    op: TrOp
) -> Result<(), FbError>[src]
&mut self,
tr_handle: &mut Self::TrHandle,
op: TrOp
) -> Result<(), FbError>
pub fn exec_immediate(
    &mut self, 
    _db_handle: &mut Self::DbHandle, 
    tr_handle: &mut Self::TrHandle, 
    dialect: Dialect, 
    sql: &str
) -> Result<(), FbError>[src]
&mut self,
_db_handle: &mut Self::DbHandle,
tr_handle: &mut Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(), FbError>
pub fn prepare_statement(
    &mut self, 
    db_handle: &mut Self::DbHandle, 
    tr_handle: &mut Self::TrHandle, 
    dialect: Dialect, 
    sql: &str
) -> Result<(StmtType, Self::StmtHandle), FbError>[src]
&mut self,
db_handle: &mut Self::DbHandle,
tr_handle: &mut Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(StmtType, Self::StmtHandle), FbError>
pub fn free_statement(
    &mut self, 
    stmt_handle: &mut Self::StmtHandle, 
    op: FreeStmtOp
) -> Result<(), FbError>[src]
&mut self,
stmt_handle: &mut Self::StmtHandle,
op: FreeStmtOp
) -> Result<(), FbError>
pub fn execute(
    &mut self, 
    _db_handle: &mut Self::DbHandle, 
    tr_handle: &mut Self::TrHandle, 
    stmt_handle: &mut Self::StmtHandle, 
    params: Vec<SqlType>
) -> Result<(), FbError>[src]
&mut self,
_db_handle: &mut Self::DbHandle,
tr_handle: &mut Self::TrHandle,
stmt_handle: &mut Self::StmtHandle,
params: Vec<SqlType>
) -> Result<(), FbError>
pub fn execute2(
    &mut self, 
    _db_handle: &mut Self::DbHandle, 
    tr_handle: &mut Self::TrHandle, 
    stmt_handle: &mut Self::StmtHandle, 
    params: Vec<SqlType>
) -> Result<Vec<Column>, FbError>[src]
&mut self,
_db_handle: &mut Self::DbHandle,
tr_handle: &mut Self::TrHandle,
stmt_handle: &mut Self::StmtHandle,
params: Vec<SqlType>
) -> Result<Vec<Column>, FbError>
pub fn fetch(
    &mut self, 
    _db_handle: &mut Self::DbHandle, 
    tr_handle: &mut Self::TrHandle, 
    stmt_handle: &mut Self::StmtHandle
) -> Result<Option<Vec<Column>>, FbError>[src]
&mut self,
_db_handle: &mut Self::DbHandle,
tr_handle: &mut Self::TrHandle,
stmt_handle: &mut Self::StmtHandle
) -> Result<Option<Vec<Column>>, FbError>
Auto Trait Implementations
impl !RefUnwindSafe for RustFbClient[src]
impl Send for RustFbClient[src]
impl Sync for RustFbClient[src]
impl Unpin for RustFbClient[src]
impl !UnwindSafe for RustFbClient[src]
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<Hdl, A> FirebirdClient for A where
    A: FirebirdClientDbOps<DbHandle = Hdl> + FirebirdClientSqlOps<DbHandle = Hdl>,
    Hdl: Send, [src]
A: FirebirdClientDbOps<DbHandle = Hdl> + FirebirdClientSqlOps<DbHandle = Hdl>,
Hdl: Send,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,