pub trait TryExtend<A> {
fn try_extend<I>(&mut self, iter: I) -> Result<(), ArrowError>
where
I: IntoIterator<Item = A>;
}
Expand description
A trait describing the ability of a struct to create itself from a iterator.
This is similar to Extend
, but accepted the creation to error.
Required methods
fn try_extend<I>(&mut self, iter: I) -> Result<(), ArrowError> where
I: IntoIterator<Item = A>,
fn try_extend<I>(&mut self, iter: I) -> Result<(), ArrowError> where
I: IntoIterator<Item = A>,
Fallible version of Extend::extend
.