Skip to main content

TextStreamExt

Trait TextStreamExt 

Source
pub trait TextStreamExt: Stream<Item = String> {
    // Provided method
    fn coalesce(
        self,
        min_size: usize,
        max_size: usize,
    ) -> CoalescedTextStream<Self>
       where Self: Sized { ... }
}
Expand description

Extension trait for text streams.

Provided Methods§

Source

fn coalesce(self, min_size: usize, max_size: usize) -> CoalescedTextStream<Self>
where Self: Sized,

Coalesce text items into larger chunks.

Implementors§

Source§

impl<S: Stream<Item = String>> TextStreamExt for S