|
|
|
@ -22,13 +22,11 @@ enum CycleState {
|
|
|
|
|
FromBuffer,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl<S, T> Stream for Cycle<S,T>
|
|
|
|
|
where
|
|
|
|
|
impl<S, T> Stream for Cycle<S, T>
|
|
|
|
|
where
|
|
|
|
|
S: Stream<Item = T>,
|
|
|
|
|
T: Clone,
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
type Item = S::Item;
|
|
|
|
|
|
|
|
|
|
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
|
|
|
|
|