pub trait LendingIterator {
type Item<'a>
where Self: 'a;
// Required method
async fn next(&mut self) -> Option<Self::Item<'_>>;
}
Expand description
An interface for dealing with iterators which borrow from Self
Required Associated Types§
Required Methods§
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.