pub struct IteratorProxy { /* private fields */ }
Implementations§
source§impl IteratorProxy
impl IteratorProxy
sourcepub fn take_event_stream(&self) -> IteratorEventStream
pub fn take_event_stream(&self) -> IteratorEventStream
Get a Stream of events from the remote end of the Iterator protocol
Panics
Panics if the event stream was already taken.
sourcepub fn get(&self) -> QueryResponseFut<Vec<String>>
pub fn get(&self) -> QueryResponseFut<Vec<String>>
Gets the next batch of keys.
The client pulls keys rather than having the server proactively push them, to implement flow control over the messages.
Trait Implementations§
source§impl Clone for IteratorProxy
impl Clone for IteratorProxy
source§fn clone(&self) -> IteratorProxy
fn clone(&self) -> IteratorProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IteratorProxy
impl Debug for IteratorProxy
source§impl IteratorProxyInterface for IteratorProxy
impl IteratorProxyInterface for IteratorProxy
type GetResponseFut = QueryResponseFut<Vec<String, Global>>
fn get(&self) -> Self::GetResponseFut
source§impl Proxy for IteratorProxy
impl Proxy for IteratorProxy
§type Protocol = IteratorMarker
type Protocol = IteratorMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more