FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    PullEnumerator

    struct · ferroui-reactive · v0.5.0

    struct PullEnumerator<R>
    

    The enumerator of a 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

    Members

    dispose

    fn dispose(self: &Self)
    

    Unsubscribes from the source (Dispose).

    Source

    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.