miniproto_native::mtproto::register
Provenance
Section titled “Provenance”- Crate:
miniproto_native - Rust visibility:
public - Source:
rust/miniproto/src/mtproto.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 to receive the envelope 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/mtproto.rs:77-81
Adds the Python-visible MTProto envelope functions to miniproto._native.
Returns a Python exception when PyO3 cannot register either callable.
Arguments
Section titled “Arguments”m: The Python extension module to receive the envelope callables.