Skip to content

miniproto_native::tl::register

  • Crate: miniproto_native
  • Rust visibility: public
  • Source: rust/miniproto/src/tl.rs
  • Python exposure: Not evidenced by static PyO3 attributes.
fn register(m: &_) -> _
  • m: The Python extension module receiving the TL callables.
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.

  • m: The Python extension module receiving the TL callables.