Enum tokio_postgres::SimpleQueryMessage [−][src]
#[non_exhaustive]
pub enum SimpleQueryMessage {
Row(SimpleQueryRow),
CommandComplete(u64),
}Message returned by the SimpleQuery stream.
Variants (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.
Auto Trait Implementations
impl RefUnwindSafe for SimpleQueryMessage
impl RefUnwindSafe for SimpleQueryMessageimpl Send for SimpleQueryMessage
impl Send for SimpleQueryMessageimpl Sync for SimpleQueryMessage
impl Sync for SimpleQueryMessageimpl Unpin for SimpleQueryMessage
impl Unpin for SimpleQueryMessageimpl UnwindSafe for SimpleQueryMessage
impl UnwindSafe for SimpleQueryMessage