Struct pyo3::pycell::PyBorrowError
source · pub struct PyBorrowError { /* private fields */ }
Expand description
An error type returned by PyCell::try_borrow
.
If this error is allowed to bubble up into Python code it will raise a RuntimeError
.
Trait Implementations§
source§impl Debug for PyBorrowError
impl Debug for PyBorrowError
source§impl Display for PyBorrowError
impl Display for PyBorrowError
source§impl From<PyBorrowError> for PyErr
impl From<PyBorrowError> for PyErr
source§fn from(other: PyBorrowError) -> Self
fn from(other: PyBorrowError) -> Self
Converts to this type from the input type.