Struct pyo3::exc::MemoryError
[−]
[src]
pub struct MemoryError;
Methods
impl MemoryError
[src]
fn new<V: ToPyObject + 'static>(args: V) -> PyErr
[src]
fn into<R, V: ToPyObject + 'static>(args: V) -> PyResult<R>
[src]
Trait Implementations
impl<T> Into<PyResult<T>> for MemoryError
[src]
impl PyTypeObject for MemoryError
[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