Trait BinaryArrayType

Source
pub trait BinaryArrayType<'a>: ArrayAccessor<Item = &'a [u8]> + Sized {
    // Required method
    fn iter(&self) -> ArrayIter<Self> ;
}
Expand description

A trait for Arrow String Arrays, currently three types are supported:

  • BinaryArray
  • LargeBinaryArray
  • BinaryViewArray

This trait helps to abstract over the different types of binary arrays so that we don’t need to duplicate the implementation for each type.

Required Methods§

Source

fn iter(&self) -> ArrayIter<Self>

Constructs a new 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.

Implementors§