pub trait KernelOp: Send + 'static {
// Required method
fn op_name(&self) -> &'static str;
}Expand description
Marker for any typed op envelope. The default impl is empty — the trait exists to enable bound-by-name patterns in generic pipelines without imposing a specific shape on the op.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".