Struct cpython::PythonObjectDowncastError
source · pub struct PythonObjectDowncastError<'p> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<'p> Debug for PythonObjectDowncastError<'p>
impl<'p> Debug for PythonObjectDowncastError<'p>
source§impl<'p> From<PythonObjectDowncastError<'p>> for PyErr
impl<'p> From<PythonObjectDowncastError<'p>> for PyErr
Converts PythonObjectDowncastError
to Python TypeError
.
source§fn from(err: PythonObjectDowncastError<'p>) -> PyErr
fn from(err: PythonObjectDowncastError<'p>) -> PyErr
Converts to this type from the input type.
Auto Trait Implementations§
impl<'p> Freeze for PythonObjectDowncastError<'p>
impl<'p> RefUnwindSafe for PythonObjectDowncastError<'p>
impl<'p> !Send for PythonObjectDowncastError<'p>
impl<'p> !Sync for PythonObjectDowncastError<'p>
impl<'p> Unpin for PythonObjectDowncastError<'p>
impl<'p> UnwindSafe for PythonObjectDowncastError<'p>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more