Struct rsfbclient::Statement
source · pub struct Statement<'c, 't, C: FirebirdClient> { /* private fields */ }
Implementations§
source§impl<'c, 't, C> Statement<'c, 't, C>where
C: FirebirdClient,
impl<'c, 't, C> Statement<'c, 't, C>where
C: FirebirdClient,
sourcepub fn prepare(
tr: &'t mut Transaction<'c, C>,
sql: &str,
named_params: bool
) -> Result<Self, FbError>
pub fn prepare( tr: &'t mut Transaction<'c, C>, sql: &str, named_params: bool ) -> Result<Self, FbError>
Prepare the statement that will be executed
Trait Implementations§
Auto Trait Implementations§
impl<'c, 't, C> RefUnwindSafe for Statement<'c, 't, C>where
C: RefUnwindSafe,
<C as FirebirdClientDbOps>::DbHandle: RefUnwindSafe,
<C as FirebirdClientSqlOps>::StmtHandle: RefUnwindSafe,
<C as FirebirdClientSqlOps>::TrHandle: RefUnwindSafe,
impl<'c, 't, C> Send for Statement<'c, 't, C>
impl<'c, 't, C> Sync for Statement<'c, 't, C>where
C: Sync,
<C as FirebirdClientDbOps>::DbHandle: Sync,
<C as FirebirdClientSqlOps>::StmtHandle: Sync,
<C as FirebirdClientSqlOps>::TrHandle: Sync,
impl<'c, 't, C> Unpin for Statement<'c, 't, C>
impl<'c, 't, C> !UnwindSafe for Statement<'c, 't, C>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more