Skip to main content

Module callback

Module callback 

Source
Expand description

Utilities for a Python callable object that invokes a Rust function.

Re-exportsยง

use crate::err::PyErr; ๐Ÿ”’
use crate::err::PyResult; ๐Ÿ”’
use crate::exceptions::PyOverflowError; ๐Ÿ”’
use crate::ffi; ๐Ÿ”’
use crate::ffi::Py_hash_t; ๐Ÿ”’
use crate::BoundObject; ๐Ÿ”’
use crate::IntoPyObject; ๐Ÿ”’
use crate::IntoPyObject; ๐Ÿ”’
use crate::Py; ๐Ÿ”’
use crate::PyAny; ๐Ÿ”’
use crate::Python; ๐Ÿ”’
use core::ffi::c_int; ๐Ÿ”’

Modulesยง

into_py_callback_output ๐Ÿ”’
Seals IntoPyCallbackOutput so that types outside PyO3 cannot implement it.
py_callback_output ๐Ÿ”’
Seals PyCallbackOutput so that types outside PyO3 cannot implement it.
wrapping_cast_to ๐Ÿ”’
Seals WrappingCastTo so that types outside PyO3 cannot implement it.

Macrosยง

wrapping_cast ๐Ÿ”’

Structsยง

HashCallbackOutput

Traitsยง

IntoPyCallbackOutput
Convert the result of callback function into the appropriate return value.
PyCallbackOutput
A type which can be the return type of a python C-API callback
WrappingCastTo

Functionsยง

convert ๐Ÿ‘ป
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here