Trait pyo3::py_result_ext::PyResultExt
source · pub(crate) trait PyResultExt<'py>: Sealed {
// Required methods
fn downcast_into<T: PyTypeCheck>(self) -> PyResult<Bound<'py, T>>;
unsafe fn downcast_into_unchecked<T>(self) -> PyResult<Bound<'py, T>>;
}
Required Methods§
fn downcast_into<T: PyTypeCheck>(self) -> PyResult<Bound<'py, T>>
unsafe fn downcast_into_unchecked<T>(self) -> PyResult<Bound<'py, T>>
Object Safety§
This trait is not object safe.