pub struct PyUnicodeEncodeError(/* private fields */);
Expand description
Represents Python’s UnicodeEncodeError
exception.
Implementations§
Trait Implementations§
Source§impl AsPyPointer for PyUnicodeEncodeError
impl AsPyPointer for PyUnicodeEncodeError
Source§impl AsRef<PyAny> for PyUnicodeEncodeError
impl AsRef<PyAny> for PyUnicodeEncodeError
Source§impl Deref for PyUnicodeEncodeError
impl Deref for PyUnicodeEncodeError
Source§impl PyTypeInfo for PyUnicodeEncodeError
impl PyTypeInfo for PyUnicodeEncodeError
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
fn type_object_bound(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl DerefToPyAny for PyUnicodeEncodeError
impl PyLayout<PyUnicodeEncodeError> for PyBaseExceptionObject
impl PySizedLayout<PyUnicodeEncodeError> for PyBaseExceptionObject
impl ToPyErr for PyUnicodeEncodeError
Auto Trait Implementations§
impl !Freeze for PyUnicodeEncodeError
impl !RefUnwindSafe for PyUnicodeEncodeError
impl !Send for PyUnicodeEncodeError
impl !Sync for PyUnicodeEncodeError
impl Unpin for PyUnicodeEncodeError
impl UnwindSafe for PyUnicodeEncodeError
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