Type Alias pyo3::pyclass::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.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here