pub trait IntoPyCallbackOutput<'py, Target> {
// Required method
fn convert(self, py: Python<'py>) -> PyResult<Target>;
}
Expand description
Convert the result of callback function into the appropriate return value.
pub trait IntoPyCallbackOutput<'py, Target> {
// Required method
fn convert(self, py: Python<'py>) -> PyResult<Target>;
}
Convert the result of callback function into the appropriate return value.