pub trait SendStreamToPublisher: Sized + MessagePublisher {
// Required method
fn send_all<'a, SourceStream>(
&'a mut self,
stream: SourceStream,
) -> StreamPublisher<'a, Self, SourceStream> ⓘ
where SourceStream: 'a + Stream<Item = Self::Message>;
}Expand description
Provides a way to send the values generated by a stream to a publisher
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.