pub trait Pathway {
type Capture: 'static;
type Backend: for<'a> Backend<Self::Key<'a>> + Send + Sync + 'static;
type Format: Format;
type Key<'a>;
// Required methods
fn key(&self) -> Self::Key<'_>;
fn capture(&self, world: &World) -> impl FlowLabel;
fn apply(&self, world: &World) -> impl FlowLabel;
}Expand description
Required Associated Types§
Required Methods§
Sourcefn key(&self) -> Self::Key<'_>
fn key(&self) -> Self::Key<'_>
Retrieve the unique identifier for the capture being processed by the
Pathway.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.