pub struct PreparedQuery { /* private fields */ }Implementations§
Source§impl PreparedQuery
impl PreparedQuery
Sourcepub async fn execute<'postgres_client, F: ConnectionFactory>(
&self,
client: &'postgres_client mut PostgresClient<F>,
parameters: &[&dyn ToSql],
) -> Result<QueryResult<'postgres_client, F>, ElefantClientError>
pub async fn execute<'postgres_client, F: ConnectionFactory>( &self, client: &'postgres_client mut PostgresClient<F>, parameters: &[&dyn ToSql], ) -> Result<QueryResult<'postgres_client, F>, ElefantClientError>
Execute this prepared statement with parameters, returning a binary mode result
Trait Implementations§
Source§impl Statement for PreparedQuery
impl Statement for PreparedQuery
async fn prepare<F: ConnectionFactory>( &self, _client: &mut PostgresClient<F>, ) -> Result<PreparedQuery, ElefantClientError>
Auto Trait Implementations§
impl !Send for PreparedQuery
impl !Sync for PreparedQuery
impl Freeze for PreparedQuery
impl RefUnwindSafe for PreparedQuery
impl Unpin for PreparedQuery
impl UnsafeUnpin for PreparedQuery
impl UnwindSafe for PreparedQuery
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