Trait ya_client::web::EventStreamExt
source · pub trait EventStreamExt<S, E>where
S: Stream<Item = Result<Bytes, E>> + Unpin + 'static,
E: Into<Error>,{
fn event_stream(self) -> EventStream<S, E>;
}pub trait EventStreamExt<S, E>where
S: Stream<Item = Result<Bytes, E>> + Unpin + 'static,
E: Into<Error>,{
fn event_stream(self) -> EventStream<S, E>;
}