pub fn from_stream<A>(stream: A) -> FromStream<A>where
    A: Stream,