pub trait RequestGenerator: Send + Sized {
    // Required methods
    fn split(self) -> (Self, Option<Self>);
    fn next(&mut self) -> Result<Request, RequestFailure>;
}
Expand description

Not a type alias because the split method is interpreted differently and we make assumptions about that which we don’t want to make for the general type

Required Methods§

source

fn split(self) -> (Self, Option<Self>)

source

fn next(&mut self) -> Result<Request, RequestFailure>

Implementors§