Struct reql::Response
[−]
[src]
pub struct Response<T: DeserializeOwned + Send> { /* fields omitted */ }
ReQL Response
Response returned by run()
Trait Implementations
impl<T: DeserializeOwned + Send> Stream for Response<T>
[src]
type Item = Option<Document<T>>
Values yielded by the stream.
type Error = Error
Errors yielded by the stream.
fn poll_next(
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
[src]
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None
if the stream is exhausted. Read more