pub trait ExtendQueue<I, E> {
// Required methods
fn add(&mut self, item: Result<I, E>);
fn add_all<Iter>(&mut self, iter: Iter)
where Iter: IntoIterator<Item = Result<I, E>>;
}Available on crate feature
sync only.Expand description
Required Methods§
Sourcefn add_all<Iter>(&mut self, iter: Iter)where
Iter: IntoIterator<Item = Result<I, E>>,
fn add_all<Iter>(&mut self, iter: Iter)where
Iter: IntoIterator<Item = Result<I, E>>,
Extend the queue with the contents of an Iterator.
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.