Skip to main content

ProjectionAdapter

Trait ProjectionAdapter 

Source
pub trait ProjectionAdapter<External, Internal>: Send + Sync {
    // Required method
    fn project(&self, external: &External) -> Internal;
}
Expand description

Synchronous adapter for pure data projections (no async needed).

Required Methods§

Source

fn project(&self, external: &External) -> Internal

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§