pyo3_macros_backend::pymethod

Function ensure_no_forbidden_protocol_attributes

Source
fn ensure_no_forbidden_protocol_attributes(
    proto_kind: &PyMethodProtoKind,
    spec: &FnSpec<'_>,
    method_name: &str,
) -> Result<()>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here