Trait PyInvokeHandlerExt

Source
pub trait PyInvokeHandlerExt<R: Runtime>: Manager<R> + SealedTrait<R> {
    // Provided methods
    fn try_py_invoke_handler(
        &self,
    ) -> PyInvokeHandlerStateResult<impl Deref<Target = PyObject>> { ... }
    fn py_invoke_handler(&self) -> impl Deref<Target = PyObject> { ... }
}
Expand description

Gets the py_invoke_handler passed in when initializing the plugin.

Provided Methods§

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.

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> PyInvokeHandlerExt<R> for T