pub trait PullConsumer: Send + Sync {
// Required method
fn names(&self) -> &[String];
// Provided method
fn label(&self) -> &str { ... }
}Expand description
Anything that wants to pull Polydat values at cycle time.
Implementors expose the names they intend to read; the spawn
path makes those names available on the spawned kernel for
the activity-side fixture to seal into a PullPlan.
This trait is Send + Sync because consumers are stored on
the artifact and may flow across threads with the spawned
kernel.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".