Struct pyo3::pycell::PyBorrowMutError
source · [−]pub struct PyBorrowMutError { /* private fields */ }
Expand description
An error type returned by PyCell::try_borrow_mut
.
If this error is allowed to bubble up into Python code it will raise a RuntimeError
.
Trait Implementations
sourceimpl Debug for PyBorrowMutError
impl Debug for PyBorrowMutError
sourceimpl Display for PyBorrowMutError
impl Display for PyBorrowMutError
sourceimpl From<PyBorrowMutError> for PyErr
impl From<PyBorrowMutError> for PyErr
sourcefn from(other: PyBorrowMutError) -> Self
fn from(other: PyBorrowMutError) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for PyBorrowMutError
impl Send for PyBorrowMutError
impl Sync for PyBorrowMutError
impl Unpin for PyBorrowMutError
impl UnwindSafe for PyBorrowMutError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more