pub trait NodeFunctionProvider {
// Required methods
fn define_fn(python: Python<'_>) -> PyResult<Bound<'_, PyCFunction>>;
fn execute_fn(python: Python<'_>) -> PyResult<Bound<'_, PyCFunction>>;
}Required Methods§
fn define_fn(python: Python<'_>) -> PyResult<Bound<'_, PyCFunction>>
fn execute_fn(python: Python<'_>) -> PyResult<Bound<'_, PyCFunction>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".