FromAbiIter

Trait FromAbiIter 

Source
pub trait FromAbiIter<T> {
    // Required method
    fn next_value<V: FromAbi>(&mut self) -> Result<V>;
}
Expand description

A wrapper around ABI values iterator that converts each item using the FromAbi trait.

It should be used to parse fields as tuple items for some struct T (which must implement WithAbiType).

Required Methods§

Source

fn next_value<V: FromAbi>(&mut self) -> Result<V>

Advances the iterator and returns the next value.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, I> FromAbiIter<T> for I
where T: WithAbiType, I: Iterator<Item = NamedAbiValue>,