Enum postgres::SimpleQueryMessage
source · #[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.
CommandComplete(u64)
A statement in the query has completed.
The number of rows modified or selected is returned.