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