Struct rsfbclient_rust::RustFbClient [−][src]
pub struct RustFbClient { /* fields omitted */ }
Expand description
Firebird client implemented in pure rust
Implementations
Trait Implementations
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
Create a new attachment to a database with the provided configuration Returns a database handle on success Read more
Disconnect from the database
fn create_database(
&mut self,
config: &Self::AttachmentConfig,
page_size: Option<u32>
) -> Result<DbHandle, FbError>
fn create_database(
&mut self,
config: &Self::AttachmentConfig,
page_size: Option<u32>
) -> Result<DbHandle, FbError>
Create the database and attach Returns a database handle on success Read more
type StmtHandle = StmtHandleData
type StmtHandle = StmtHandleData
A statement handle
fn begin_transaction(
&mut self,
db_handle: &mut Self::DbHandle,
isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>
fn begin_transaction(
&mut self,
db_handle: &mut Self::DbHandle,
isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>
Start a new transaction, with the specified transaction parameter buffer
Commit / Rollback a transaction
Execute a sql immediately, without returning rows
Allocate and prepare a statement Returns the statement type and handle Read more
fn free_statement(
&mut self,
stmt_handle: &mut Self::StmtHandle,
op: FreeStmtOp
) -> Result<(), FbError>
fn free_statement(
&mut self,
stmt_handle: &mut Self::StmtHandle,
op: FreeStmtOp
) -> Result<(), FbError>
Closes or drops a statement
Execute the prepared statement with parameters and returns the affected rows count Read more
Execute the prepared statement with input and output parameters. Read more
Auto Trait Implementations
impl !RefUnwindSafe for RustFbClient
impl Send for RustFbClient
impl Sync for RustFbClient
impl Unpin for RustFbClient
impl !UnwindSafe for RustFbClient
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self