miniproto_native::tl::register
Provenance
Section titled “Provenance”- Crate:
miniproto_native - Rust visibility:
public - Source:
rust/miniproto/src/tl.rs - Python exposure: Not evidenced by static PyO3 attributes.
Signature
Section titled “Signature”fn register(m: &_) -> _Arguments
Section titled “Arguments”m: The Python extension module receiving the TL callables.
cargo-docs-md rendering
Section titled “cargo-docs-md rendering”register
Section titled “register”fn register(m: &Bound<'_, pyo3::types::PyModule>) -> PyResult<()>Defined in rust/miniproto/src/tl.rs:102-126
Registers the fallback-compatible tl_* Python functions on miniproto._native.
Returns a PyO3 error if any function cannot be exported.
Arguments
Section titled “Arguments”m: The Python extension module receiving the TL callables.