pyo3::err

Function display_downcast_error

Source
fn display_downcast_error(
    f: &mut Formatter<'_>,
    from: &Bound<'_, PyAny>,
    to: &str,
) -> Result
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here