Struct pyo3::exc::UnicodeEncodeError
[−]
[src]
pub struct UnicodeEncodeError;
Methods
impl UnicodeEncodeError[src]
pub fn new<V: ToPyObject + 'static>(args: V) -> PyErr[src]
pub fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>[src]
Trait Implementations
impl From<UnicodeEncodeError> for PyErr[src]
fn from(_err: UnicodeEncodeError) -> PyErr[src]
Performs the conversion.
impl<T> Into<PyResult<T>> for UnicodeEncodeError[src]
impl PyTypeObject for UnicodeEncodeError[src]
fn init_type()[src]
Initialize type object
fn type_object() -> Py<PyType>[src]
Retrieves the type object for this Python object type.
fn create(py: Python) -> PyResult<PyRawObject> where
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo, [src]
Self: Sized + PyObjectAlloc<Self> + PyTypeInfo,
Create PyRawObject which can be initialized with rust value