pub struct PreparedQuery<C: Client> {
pub executor: Query<C>,
pub cache: Arc<Mutex<PreparedStatementCache>>,
}Fields§
§executor: Query<C>§cache: Arc<Mutex<PreparedStatementCache>>Implementations§
Source§impl<C: Client> PreparedQuery<C>
impl<C: Client> PreparedQuery<C>
pub async fn prepared_query( &self, opts: &QueryOptions, ) -> Result<QueryRespReader>
Auto Trait Implementations§
impl<C> Freeze for PreparedQuery<C>
impl<C> RefUnwindSafe for PreparedQuery<C>where
C: RefUnwindSafe,
impl<C> Send for PreparedQuery<C>
impl<C> Sync for PreparedQuery<C>
impl<C> Unpin for PreparedQuery<C>
impl<C> UnwindSafe for PreparedQuery<C>where
C: RefUnwindSafe,
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