[−][src]Struct rsfbclient_native::NativeFbClient
Client that wraps the native fbclient library
Trait Implementations
impl FirebirdClient for NativeFbClient[src]
type DbHandle = isc_db_handle
A database handle
type TrHandle = isc_tr_handle
A transaction handle
type StmtHandle = isc_stmt_handle
A statement handle
type Args = Args
Arguments to instantiate the client
fn new(args: Self::Args) -> Result<Self, FbError>[src]
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 FirebirdClientEmbeddedAttach<NativeFbClient> for NativeFbClient[src]
fn attach_database(
&mut self,
db_name: &str,
user: &str
) -> Result<<NativeFbClient as FirebirdClient>::DbHandle, FbError>[src]
&mut self,
db_name: &str,
user: &str
) -> Result<<NativeFbClient as FirebirdClient>::DbHandle, FbError>
impl FirebirdClientRemoteAttach<NativeFbClient> for NativeFbClient[src]
fn attach_database(
&mut self,
host: &str,
port: u16,
db_name: &str,
user: &str,
pass: &str
) -> Result<<NativeFbClient as FirebirdClient>::DbHandle, FbError>[src]
&mut self,
host: &str,
port: u16,
db_name: &str,
user: &str,
pass: &str
) -> Result<<NativeFbClient as FirebirdClient>::DbHandle, FbError>
Auto Trait Implementations
impl RefUnwindSafe for NativeFbClient
impl Send for NativeFbClient
impl !Sync for NativeFbClient
impl Unpin for NativeFbClient
impl UnwindSafe for NativeFbClient
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, 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>,