pub trait ExecutionAlgorithmNative: DataActorNative {
// Required methods
fn exec_algorithm_core(&self) -> &ExecutionAlgorithmCore;
fn exec_algorithm_core_mut(&mut self) -> &mut ExecutionAlgorithmCore;
}Expand description
Native-only access to internal execution algorithm runtime state.
Use this trait from engine, runtime, testkit, or opt-in native algorithm code when direct access to host runtime objects matters for an explicit latency-sensitive path, or when host integration code needs access below the facade API.
Do not import this trait in code intended to run through Python or the
plug-in authoring surface. Native borrows, Rc<RefCell<_>>, and core
references do not cross those boundaries.
Required Methods§
Sourcefn exec_algorithm_core(&self) -> &ExecutionAlgorithmCore
fn exec_algorithm_core(&self) -> &ExecutionAlgorithmCore
Returns the execution algorithm core.
Sourcefn exec_algorithm_core_mut(&mut self) -> &mut ExecutionAlgorithmCore
fn exec_algorithm_core_mut(&mut self) -> &mut ExecutionAlgorithmCore
Returns the mutable execution algorithm core.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".