5 pub struct EventStream<S> {
9 impl<S: Debug> EventStream<S> {
10 fn into_stream(self) -> impl Debug {
14 pub fn into_reader(self) -> impl Debug {
15 ReaderStream::from(self.into_stream())
20 pub struct ReaderStream<S> {
24 impl<S> From<S> for ReaderStream<S> {
25 fn from(stream: S) -> Self {
26 ReaderStream { stream }