Trait mysql_async::prelude::ResultKind
[−]
[src]
pub trait ResultKind { type Output: Sized; fn protocol() -> Protocol; }
Result kind of a query result.
Associated Types
type Output: Sized
Output of this result kind.
For TextResult
it is either next TextQueryResult
of a multi-result set or Conn
on
which query was executed.
For BinaryResult
it is Stmt
which was executed.
Required Methods
fn protocol() -> Protocol
A way to determine protocol at runtime.
Implementors
impl ResultKind for BinaryResult
impl ResultKind for TextResult