#[non_exhaustive]pub enum PipelineResponse {
Rows {
fields: Vec<FieldDescription>,
rows: Vec<RawRow>,
command_tag: String,
},
Done,
}Expand description
Response from a pipeline request.
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.
Rows
A query that produced a row set (SELECT, RETURNING, etc.).
Fields
Done
A statement that produced no row set (e.g., BEGIN, SET ROLE,
non-RETURNING DML).
Auto Trait Implementations§
impl Freeze for PipelineResponse
impl RefUnwindSafe for PipelineResponse
impl Send for PipelineResponse
impl Sync for PipelineResponse
impl Unpin for PipelineResponse
impl UnsafeUnpin for PipelineResponse
impl UnwindSafe for PipelineResponse
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