Trait ChildIteratorClientSender

Source
pub trait ChildIteratorClientSender {
    type Transport: Transport;

    // Required method
    fn next(
        &self,
    ) -> Result<ResponseFuture<'_, Self::Transport, Next>, EncodeError>;
}
Expand description

A helper trait for the ChildIterator client sender.

Required Associated Types§

Source

type Transport: Transport

Required Methods§

Source

fn next(&self) -> Result<ResponseFuture<'_, Self::Transport, Next>, EncodeError>

Advance the iterator and return the next batch of children.

Returns a vector of ChildRef. Returns an empty vector when there are no more children.

Implementations on Foreign Types§

Source§

impl<___T> ChildIteratorClientSender for ClientSender<___T, ChildIterator>
where ___T: Transport,

Source§

fn next(&self) -> Result<ResponseFuture<'_, Self::Transport, Next>, EncodeError>

Advance the iterator and return the next batch of children.

Returns a vector of ChildRef. Returns an empty vector when there are no more children.

Source§

type Transport = ___T

Implementors§