[−][src]Struct mysql_async::QueryWithParams
Representaion of a prepared statement query.
See BinQuery
for details.
Fields
query: Q
params: P
Trait Implementations
impl<'_, Q: ?Sized, I, P> BatchQuery for QueryWithParams<&'_ Q, I> where
Q: StatementLike,
I: IntoIterator<Item = P> + Send,
I::IntoIter: Send,
P: Into<Params> + Send,
[src]
Q: StatementLike,
I: IntoIterator<Item = P> + Send,
I::IntoIter: Send,
P: Into<Params> + Send,
fn batch<'a, 't: 'a, C>(self, conn: C) -> BoxFuture<'a, ()> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
[src]
Self: 'a,
C: ToConnection<'a, 't> + 'a,
impl<Q: Clone, P: Clone> Clone for QueryWithParams<Q, P>
[src]
fn clone(&self) -> QueryWithParams<Q, P>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Q: Debug, P: Debug> Debug for QueryWithParams<Q, P>
[src]
impl<Q: Eq, P: Eq> Eq for QueryWithParams<Q, P>
[src]
impl<Q: PartialEq, P: PartialEq> PartialEq<QueryWithParams<Q, P>> for QueryWithParams<Q, P>
[src]
fn eq(&self, other: &QueryWithParams<Q, P>) -> bool
[src]
fn ne(&self, other: &QueryWithParams<Q, P>) -> bool
[src]
impl<'_, Q: ?Sized, P> Query for QueryWithParams<&'_ Q, P> where
Q: StatementLike,
P: Into<Params> + Send,
[src]
Q: StatementLike,
P: Into<Params> + Send,
type Protocol = BinaryProtocol
Query protocol.
fn run<'a, 't: 'a, C>(
self,
conn: C
) -> BoxFuture<'a, QueryResult<'a, 't, BinaryProtocol>> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
[src]
self,
conn: C
) -> BoxFuture<'a, QueryResult<'a, 't, BinaryProtocol>> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
fn first<'a, 't: 'a, T, C>(self, conn: C) -> BoxFuture<'a, Option<T>> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
T: FromRow + Send + 'static,
[src]
Self: 'a,
C: ToConnection<'a, 't> + 'a,
T: FromRow + Send + 'static,
fn fetch<'a, 't: 'a, T, C>(self, conn: C) -> BoxFuture<'a, Vec<T>> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
T: FromRow + Send + 'static,
[src]
Self: 'a,
C: ToConnection<'a, 't> + 'a,
T: FromRow + Send + 'static,
fn reduce<'a, 't: 'a, T, U, F, C>(
self,
conn: C,
init: U,
next: F
) -> BoxFuture<'a, U> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
F: FnMut(U, T) -> U + Send + 'a,
T: FromRow + Send + 'static,
U: Send + 'a,
[src]
self,
conn: C,
init: U,
next: F
) -> BoxFuture<'a, U> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
F: FnMut(U, T) -> U + Send + 'a,
T: FromRow + Send + 'static,
U: Send + 'a,
fn map<'a, 't: 'a, T, U, F, C>(self, conn: C, map: F) -> BoxFuture<'a, Vec<U>> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
F: FnMut(T) -> U + Send + 'a,
T: FromRow + Send + 'static,
U: Send + 'a,
[src]
Self: 'a,
C: ToConnection<'a, 't> + 'a,
F: FnMut(T) -> U + Send + 'a,
T: FromRow + Send + 'static,
U: Send + 'a,
fn ignore<'a, 't: 'a, C>(self, conn: C) -> BoxFuture<'a, ()> where
Self: 'a,
C: ToConnection<'a, 't> + 'a,
[src]
Self: 'a,
C: ToConnection<'a, 't> + 'a,
impl<Q, P> StructuralEq for QueryWithParams<Q, P>
[src]
impl<Q, P> StructuralPartialEq for QueryWithParams<Q, P>
[src]
Auto Trait Implementations
impl<Q, P> RefUnwindSafe for QueryWithParams<Q, P> where
P: RefUnwindSafe,
Q: RefUnwindSafe,
P: RefUnwindSafe,
Q: RefUnwindSafe,
impl<Q, P> Send for QueryWithParams<Q, P> where
P: Send,
Q: Send,
P: Send,
Q: Send,
impl<Q, P> Sync for QueryWithParams<Q, P> where
P: Sync,
Q: Sync,
P: Sync,
Q: Sync,
impl<Q, P> Unpin for QueryWithParams<Q, P> where
P: Unpin,
Q: Unpin,
P: Unpin,
Q: Unpin,
impl<Q, P> UnwindSafe for QueryWithParams<Q, P> where
P: UnwindSafe,
Q: UnwindSafe,
P: UnwindSafe,
Q: UnwindSafe,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,