[][src]Struct neo4rs::RowStream

pub struct RowStream { /* fields omitted */ }

An abstraction over a stream of rows, this is returned as a result of [Graph::execute] or [Txn::execute] operations

A stream will contain a connection from the connection pool which will be released to the pool when the stream is dropped.

Implementations

impl RowStream[src]

pub async fn next(&mut self) -> Result<Option<Row>>[src]

A call to next() will return a row from an internal buffer if the buffer has any entries, if the buffer is empty and the server has more rows left to consume, then a new batch of rows are fetched from the server (using the fetch_size value configured see [ConfigBuilder::fetch_size])

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.