Skip to main content

RecordProjection

Trait RecordProjection 

Source
pub trait RecordProjection:
    Send
    + Sync
    + 'static {
    // Required method
    fn project<'a>(
        &'a self,
        record: &'a Envelope<&Value>,
        output: &'a mut ProjectedRecords<'_>,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'a>>;
}

Required Methods§

Source

fn project<'a>( &'a self, record: &'a Envelope<&Value>, output: &'a mut ProjectedRecords<'_>, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'a>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§