Trait re_sdk::external::arrow2::array::TryPush

pub trait TryPush<A> {
    // Required method
    fn try_push(&mut self, item: A) -> Result<(), Error>;
}
Expand description

A trait describing the ability of a struct to receive new items.

Required Methods§

fn try_push(&mut self, item: A) -> Result<(), Error>

Tries to push a new element.

Implementors§

§

impl TryPush<Option<bool>> for MutableBooleanArray

§

impl<K, M, T> TryPush<Option<T>> for MutableDictionaryArray<K, M>
where K: DictionaryKey, M: MutableArray + Indexable + TryPush<Option<T>>, T: AsIndexed<M>, <M as Indexable>::Type: Eq + Hash,

§

impl<M, I, T> TryPush<Option<I>> for MutableFixedSizeListArray<M>
where M: MutableArray + TryExtend<Option<T>>, I: IntoIterator<Item = Option<T>>,

§

impl<O, M, I, T> TryPush<Option<I>> for MutableListArray<O, M>
where O: Offset, M: MutableArray + TryExtend<Option<T>>, I: IntoIterator<Item = Option<T>>,

§

impl<O, T> TryPush<Option<T>> for MutableBinaryArray<O>
where O: Offset, T: AsRef<[u8]>,

§

impl<O, T> TryPush<Option<T>> for MutableUtf8Array<O>
where O: Offset, T: AsRef<str>,

§

impl<O, T> TryPush<T> for MutableBinaryValuesArray<O>
where O: Offset, T: AsRef<[u8]>,

§

impl<O, T> TryPush<T> for MutableUtf8ValuesArray<O>
where O: Offset, T: AsRef<str>,

§

impl<T> TryPush<Option<T>> for MutablePrimitiveArray<T>
where T: NativeType,