Skip to main content

IteratorImpl

Trait IteratorImpl 

Source
pub trait IteratorImpl<T>:
    Clone
    + Send
    + 'static
where for<'a> T: FromValue<'a> + StaticType + ToValue + Send + 'static,
{ // Required methods fn next(&mut self) -> Option<Result<T, IteratorError>>; fn resync(&mut self); }

Required Methods§

Source

fn next(&mut self) -> Option<Result<T, IteratorError>>

Source

fn resync(&mut self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T, A> IteratorImpl<T> for ArrayIteratorImpl<A, T>
where A: AsRef<[T]> + Send + Clone + 'static, for<'a> T: StaticType + ToValue + FromValue<'a> + Clone + Send + 'static,

Source§

impl<T> IteratorImpl<T> for OptionIteratorImpl<T>
where for<'a> T: StaticType + ToValue + FromValue<'a> + Clone + Send + 'static,