pub trait TryCollect<T, E>: Iterator<Item = Result<T, E>> + Sized {
// Provided method
fn try_collect<B: Default + Extend<T>>(self) -> Result<B, E> { ... }
}
Provided Methods§
fn try_collect<B: Default + Extend<T>>(self) -> Result<B, E>
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.