[−][src]Struct mysql_async::Stmt
Prepared statement
Methods
impl<T> Stmt<T> where
T: ConnectionLike + Sized + 'static,
[src]
T: ConnectionLike + Sized + 'static,
pub fn execute<P>(
self,
params: P
) -> impl MyFuture<QueryResult<Self, BinaryProtocol>> where
P: Into<Params>,
[src]
self,
params: P
) -> impl MyFuture<QueryResult<Self, BinaryProtocol>> where
P: Into<Params>,
See Queryable::execute
pub fn first<P, R>(self, params: P) -> impl MyFuture<(Self, Option<R>)> where
P: Into<Params> + 'static,
R: FromRow,
[src]
P: Into<Params> + 'static,
R: FromRow,
See Queryable::first
pub fn batch<I, P>(self, params_iter: I) -> impl MyFuture<Self> where
I: IntoIterator<Item = P>,
I::IntoIter: Send + 'static,
Params: From<P>,
P: 'static,
[src]
I: IntoIterator<Item = P>,
I::IntoIter: Send + 'static,
Params: From<P>,
P: 'static,
See Queryable::batch
pub fn close(self) -> impl MyFuture<T>
[src]
This will close statement (if it's not in the cache) and resolve to a wrapped queryable.
Auto Trait Implementations
Blanket Implementations
impl<T> ConnectionLike for T where
T: ConnectionLike,
[src]
T: ConnectionLike,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self