StreamingTransform

Trait StreamingTransform 

Source
pub trait StreamingTransform<S, Output> {
    type Error: Error + Send + Sync;

    // Required method
    fn transform_stream<'a>(
        &'a self,
        stream: S,
    ) -> Pin<Box<dyn Stream<Item = Result<Output>> + Send + 'a>>
       where S: Stream + Send + 'a;
}
Expand description

Trait for streaming transformations

Required Associated Types§

Required Methods§

Source

fn transform_stream<'a>( &'a self, stream: S, ) -> Pin<Box<dyn Stream<Item = Result<Output>> + Send + 'a>>
where S: Stream + Send + 'a,

Transform streaming data

Implementors§