pub trait MutStreamingIterator: Sized {
type Item;
type Error;
// Required methods
fn advance(self) -> Result<State<Self>, Self::Error>;
fn get(&mut self) -> Option<&mut Self::Item>;
}
Expand description
A special kind of fallible streaming iterator where advance
consumes the iterator.
Required Associated Types§
Required Methods§
fn advance(self) -> Result<State<Self>, Self::Error>
fn get(&mut self) -> Option<&mut Self::Item>
Object Safety§
This trait is not object safe.