Enum tokio_postgres::SimpleQueryMessage [−][src]
#[non_exhaustive]
pub enum SimpleQueryMessage {
Row(SimpleQueryRow),
CommandComplete(u64),
}Expand description
Message returned by the SimpleQuery stream.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Row(SimpleQueryRow)A row of data.
Tuple Fields of Row
CommandComplete(u64)A statement in the query has completed.
The number of rows modified or selected is returned.
Tuple Fields of CommandComplete
0: u64