ToSinkBuild

Trait ToSinkBuild 

Source
pub trait ToSinkBuild {
    // Provided methods
    fn iter_to_sink_build(self) -> SendIterBuild<Self>
       where Self: Sized + Iterator { ... }
    fn stream_to_sink_build(self) -> SendStreamBuild<Self>
       where Self: Sized + Stream { ... }
}
Expand description

Blanket trait for sending items from Self into a SinkBuild.

Provided Methods§

Source

fn iter_to_sink_build(self) -> SendIterBuild<Self>
where Self: Sized + Iterator,

Starts a SinkBuild adaptor chain to send all items from self as an Iterator.

Source

fn stream_to_sink_build(self) -> SendStreamBuild<Self>
where Self: Sized + Stream,

Starts a SinkBuild adaptor chain to send all items from self as a [Stream].

Implementors§

Source§

impl<T> ToSinkBuild for T