unipipe 0.1.0

A simple Rust pipe abstraction that extends to iterator and stream.
Documentation
1
2
3
4
5
6
7
8
9
10
11
mod iterator;
mod stream;

pub use paste;

pub trait UniPipe: Default {
    type Input;
    type Output;

    fn next(&mut self, input: Option<Self::Input>) -> Option<Self::Output>;
}