pub type Error = PyErr;
Aliased Type§
struct Error {
state: UnsafeCell<Option<PyErrState>>,
}
Fields§
§state: UnsafeCell<Option<PyErrState>>
Trait Implementations§
source§impl From<RuntimeMethodError> for PyErr
impl From<RuntimeMethodError> for PyErr
source§fn from(value: RuntimeMethodError) -> PyErr
fn from(value: RuntimeMethodError) -> PyErr
Converts to this type from the input type.