pub struct RowResultReader<'postgres_client, 'query_result_set, F: ConnectionFactory> { /* private fields */ }Implementations§
Source§impl<'postgres_client, 'query_result_set, F: ConnectionFactory> RowResultReader<'postgres_client, 'query_result_set, F>
impl<'postgres_client, 'query_result_set, F: ConnectionFactory> RowResultReader<'postgres_client, 'query_result_set, F>
pub async fn next_row<'row_result_reader>( &'row_result_reader mut self, ) -> Result<Option<PostgresDataRow<'postgres_client, 'row_result_reader>>, ElefantClientError>
pub async fn collect_to_vec<T>(self) -> Result<Vec<T>, ElefantClientError>where
T: FromSqlRowOwned,
Auto Trait Implementations§
impl<'postgres_client, 'query_result_set, F> !Send for RowResultReader<'postgres_client, 'query_result_set, F>
impl<'postgres_client, 'query_result_set, F> !Sync for RowResultReader<'postgres_client, 'query_result_set, F>
impl<'postgres_client, 'query_result_set, F> !UnwindSafe for RowResultReader<'postgres_client, 'query_result_set, F>
impl<'postgres_client, 'query_result_set, F> Freeze for RowResultReader<'postgres_client, 'query_result_set, F>where
&'postgres_client mut PostgresClient<F>: Freeze,
PhantomData<&'query_result_set QueryResult<'postgres_client, F>>: Freeze,
impl<'postgres_client, 'query_result_set, F> RefUnwindSafe for RowResultReader<'postgres_client, 'query_result_set, F>where
&'postgres_client mut PostgresClient<F>: RefUnwindSafe,
PhantomData<&'query_result_set QueryResult<'postgres_client, F>>: RefUnwindSafe,
impl<'postgres_client, 'query_result_set, F> Unpin for RowResultReader<'postgres_client, 'query_result_set, F>where
&'postgres_client mut PostgresClient<F>: Unpin,
PhantomData<&'query_result_set QueryResult<'postgres_client, F>>: Unpin,
impl<'postgres_client, 'query_result_set, F> UnsafeUnpin for RowResultReader<'postgres_client, 'query_result_set, F>where
&'postgres_client mut PostgresClient<F>: UnsafeUnpin,
PhantomData<&'query_result_set QueryResult<'postgres_client, F>>: UnsafeUnpin,
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