Enum postgres::SimpleQueryMessage
source · #[non_exhaustive]pub enum SimpleQueryMessage {
Row(SimpleQueryRow),
CommandComplete(u64),
RowDescription(Arc<[SimpleColumn]>),
}
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.
RowDescription(Arc<[SimpleColumn]>)
Column values of the proceeding row values
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SimpleQueryMessage
impl RefUnwindSafe for SimpleQueryMessage
impl Send for SimpleQueryMessage
impl Sync for SimpleQueryMessage
impl Unpin for SimpleQueryMessage
impl UnwindSafe for SimpleQueryMessage
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more