Skip to content

miniproto_native::crypto::register

  • Crate: miniproto_native
  • Rust visibility: public
  • Source: rust/miniproto/src/crypto.rs
  • Python exposure: Not evidenced by static PyO3 attributes.
fn register(m: &_) -> _
  • m: The Python extension module receiving the crypto callables.
fn register(m: &Bound<'_, pyo3::types::PyModule>) -> PyResult<()>

Defined in rust/miniproto/src/crypto.rs:63-83

Registers this module’s fallback-compatible Python callables on miniproto._native.

Returns a PyO3 exception if a callable cannot be added to m.

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