pyo3::pyclass

Type Alias PyIterANextOutput

Source
pub type PyIterANextOutput = IterANextOutput<PyObject, PyObject>;
๐Ÿ‘ŽDeprecated since 0.21.0: Use Option or PyStopAsyncIteration instead.
Expand description

An IterANextOutput of Python objects.

Aliased Typeยง

enum PyIterANextOutput {
    Yield(Py<PyAny>),
    Return(Py<PyAny>),
}

Variantsยง

ยง

Yield(Py<PyAny>)

๐Ÿ‘ŽDeprecated since 0.21.0: Use Option or PyStopAsyncIteration instead.

An expression which the generator yielded.

ยง

Return(Py<PyAny>)

๐Ÿ‘ŽDeprecated since 0.21.0: Use Option or PyStopAsyncIteration instead.

A StopAsyncIteration object.