pub trait ProjectionRule<E>: Send + Sync {
type Projected;
// Required method
fn project(
&self,
scope: &ResolvedScope,
entity: &E,
) -> Option<Self::Projected>;
}Expand description
Authorized projection boundary. None means the entity must not be delivered.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".