[−][src]Struct neo4rs::RowStream
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
impl !RefUnwindSafe for RowStream
[src]
impl Send for RowStream
[src]
impl Sync for RowStream
[src]
impl Unpin for RowStream
[src]
impl !UnwindSafe for RowStream
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,