Trait polars_arrow::array::TryExtend

source ·
pub trait TryExtend<A> {
    // Required method
    fn try_extend<I: IntoIterator<Item = A>>(
        &mut self,
        iter: I,
    ) -> PolarsResult<()>;
}
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§

source

fn try_extend<I: IntoIterator<Item = A>>(&mut self, iter: I) -> PolarsResult<()>

Fallible version of Extend::extend.

Object Safety§

This trait is not object safe.

Implementors§