Struct postgres_cursor::Cursor
[−]
[src]
pub struct Cursor<'conn> { /* fields omitted */ }Represents a PostgreSQL cursor.
The actual cursor in the database is only created and active while
Iter is in scope and calls to next() return Some.
Methods
impl<'conn> Cursor<'conn>[src]
fn build<'b>(conn: &'b Connection) -> Builder<'b, 'static, str>[src]
impl<'a> Cursor<'a>[src]
Trait Implementations
impl<'a, 'conn> IntoIterator for &'a mut Cursor<'conn>[src]
type Item = Result<Rows>
The type of the elements being iterated over.
type IntoIter = Iter<'a, 'conn>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Iter<'a, 'conn>[src]
Creates an iterator from a value. Read more