pub trait ToPublisherSink: Sized + MessagePublisher {
// Required method
fn to_sink(self) -> PublisherSink<Self>;
}Expand description
Trait that turns publishers into sinks
Required Methods§
Sourcefn to_sink(self) -> PublisherSink<Self>
fn to_sink(self) -> PublisherSink<Self>
Converts this publisher into a futures Sink
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.