# PullEnumerator

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive/linq/struct-pullenumerator/

**struct** · [`ferroui-reactive`](/docs/0.5.0/api/ferroui-reactive/) · v0.5.0

```rust
struct PullEnumerator<R>
```

The enumerator of a [`PullEnumerable`](/docs/0.5.0/api/ferroui-reactive/linq/struct-pullenumerable/) (`PushToPullSink<TSource, TResult>` as an
`IEnumerator<TResult>`). Each step gives `Ok` with a value or `Err` with an error of the
source or of a selector; dropping it, or `dispose`, unsubscribes from the
source.

Deviation (DEVIATIONS.md, Reactive): upstream's `MoveNext` throws the error again at each later
call; here the error is the last item and the enumeration ends after it, as a fused iterator.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/push_to_pull_adapter.rs#L65)

## Members

- [`dispose`](#function-dispose)

<a id="function-dispose"></a>

### dispose

```rust
fn dispose(self: &Self)
```

Unsubscribes from the source (`Dispose`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/linq/push_to_pull_adapter.rs#L72)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `IntoIterator`
- `Iterator`
- `FusedIterator`
- `Drop`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
