pub trait ByteArrayType: 'static + Send + Sync + ByteArrayTypeSealed {
    type Offset: OffsetSizeTrait;
    type Native: ByteArrayNativeType + AsRef<[u8]> + ?Sized;

    const PREFIX: &'static str;
    const DATA_TYPE: DataType;
}
Expand description

A trait over the variable-size byte array types

See Variable Size Binary Layout

Required Associated Types§

Type of offset i.e i32/i64

Type for representing its equivalent rust type i.e Utf8Array will have native type has &str BinaryArray will have type as u8

Required Associated Constants§

“Binary” or “String”, for use in error messages

Datatype of array elements

Implementors§