Struct mysql_async::TextQueryResult
[−]
[src]
pub struct TextQueryResult(_);
Uncollected result of a query execution.
Trait Implementations
impl QueryResult for TextQueryResult
[src]
fn affected_rows(&self) -> Option<u64> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Affected rows value returned by a server, if any.
fn last_insert_id(&self) -> Option<u64> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Last insert id value returned by a server, if any.
fn warnings(&self) -> Option<u16> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Warnings count value returned by a server, if any.
fn info_bytes(&self) -> Option<&[u8]> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Bytes of info string returned by a server, if any.
fn info(&self) -> Option<Cow<str>> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Info bytes lossy converted to UTF-8, if any.
fn session_state_changes_bytes(&self) -> Option<&[u8]> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Bytes of session state changed value returned by a server, if any.
fn session_state_changes(&self) -> Option<Cow<str>> where
Self: InnerQueryResult,
Self: InnerQueryResult,
Session state changed value lossy converted to UTF-8, if any.
impl UnconsumedQueryResult for TextQueryResult
[src]
type Output = <TextResult as ResultKind>::Output
fn collect<R>(self) -> Collect<R, Self> where
Self: Sized,
R: FromRow,
Self: Sized,
R: FromRow,
Returns future which collects result set of this query result. Read more
fn collect_all(self) -> CollectAll<Self> where
Self: Sized,
Self: Sized,
It returns future that collects all result sets of a multi-result set. Read more
fn map<F, U>(self, fun: F) -> Map<F, U, Self> where
Self: Sized,
F: FnMut(Row) -> U,
Self: Sized,
F: FnMut(Row) -> U,
It returns future that maps every Row
of this query result to U
.
fn reduce<A, F>(self, init: A, fun: F) -> Reduce<A, F, Self> where
Self: Sized,
F: FnMut(A, Row) -> A,
Self: Sized,
F: FnMut(A, Row) -> A,
It returns future that reduce rows of this query result to an instance of A
.
fn for_each<F>(self, fun: F) -> ForEach<F, Self> where
Self: Sized,
F: FnMut(Row),
Self: Sized,
F: FnMut(Row),
It returns future that applies F
to every Row
of this query result.
fn drop_result(self) -> DropResult<Self> where
Self: Sized,
Self: Sized,
It returns future that drops result and resolves to wrapped Conn
on Stmt
.