Trait xitca_postgres::AsyncLendingIterator
source · pub trait AsyncLendingIterator {
type Ok<'i>
where Self: 'i;
type Err;
// Required method
fn try_next(
&mut self,
) -> impl Future<Output = Result<Option<Self::Ok<'_>>, Self::Err>> + Send;
// Provided method
fn size_hint(&self) -> (usize, Option<usize>) { ... }
}
Expand description
async streaming iterator with borrowed Item from Self.
Required Associated Types§
Required Methods§
fn try_next( &mut self, ) -> impl Future<Output = Result<Option<Self::Ok<'_>>, Self::Err>> + Send
Provided Methods§
Object Safety§
This trait is not object safe.