[−][src]Struct rsfbclient_rust::RustFbClient
Firebird client implemented in rust
Trait Implementations
impl FirebirdClient for RustFbClient
[src]
type DbHandle = DbHandle
A database handle
type TrHandle = TrHandle
A transaction handle
type StmtHandle = StmtHandle
A statement handle
type Args = ()
Arguments to instantiate the client
fn new(charset: Charset, _args: Self::Args) -> Result<Self, FbError> where
Self: Sized,
[src]
Self: Sized,
fn detach_database(&mut self, db_handle: Self::DbHandle) -> Result<(), FbError>
[src]
fn drop_database(&mut self, db_handle: Self::DbHandle) -> Result<(), FbError>
[src]
fn begin_transaction(
&mut self,
db_handle: Self::DbHandle,
isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>
[src]
&mut self,
db_handle: Self::DbHandle,
isolation_level: TrIsolationLevel
) -> Result<Self::TrHandle, FbError>
fn transaction_operation(
&mut self,
tr_handle: Self::TrHandle,
op: TrOp
) -> Result<(), FbError>
[src]
&mut self,
tr_handle: Self::TrHandle,
op: TrOp
) -> Result<(), FbError>
fn exec_immediate(
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(), FbError>
[src]
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(), FbError>
fn prepare_statement(
&mut self,
db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(StmtType, Self::StmtHandle), FbError>
[src]
&mut self,
db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
dialect: Dialect,
sql: &str
) -> Result<(StmtType, Self::StmtHandle), FbError>
fn free_statement(
&mut self,
stmt_handle: Self::StmtHandle,
op: FreeStmtOp
) -> Result<(), FbError>
[src]
&mut self,
stmt_handle: Self::StmtHandle,
op: FreeStmtOp
) -> Result<(), FbError>
fn execute(
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
stmt_handle: Self::StmtHandle,
params: Vec<Param>
) -> Result<(), FbError>
[src]
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
stmt_handle: Self::StmtHandle,
params: Vec<Param>
) -> Result<(), FbError>
fn fetch(
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
stmt_handle: Self::StmtHandle
) -> Result<Option<Vec<Column>>, FbError>
[src]
&mut self,
_db_handle: Self::DbHandle,
tr_handle: Self::TrHandle,
stmt_handle: Self::StmtHandle
) -> Result<Option<Vec<Column>>, FbError>
impl FirebirdClientRemoteAttach for RustFbClient
[src]
fn attach_database(
&mut self,
host: &str,
port: u16,
db_name: &str,
user: &str,
pass: &str
) -> Result<Self::DbHandle, FbError>
[src]
&mut self,
host: &str,
port: u16,
db_name: &str,
user: &str,
pass: &str
) -> Result<Self::DbHandle, FbError>
Attach to a database, creating the connections if necessary.
It will only connect only once, so calling a second time with different host or port will still use the old connection.
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
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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.
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.
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>,