pub trait ByteArrayType:
'static
+ Send
+ Sync
+ ByteArrayTypeSealed {
type Offset: OffsetSizeTrait;
type Native: ByteArrayNativeType + AsRef<Self::Native> + AsRef<[u8]> + ?Sized;
const PREFIX: &'static str;
const DATA_TYPE: DataType;
// Required method
fn validate(
offsets: &OffsetBuffer<Self::Offset>,
values: &Buffer,
) -> Result<(), ArrowError>;
}
Expand description
A trait over the variable-size byte array types
Required Associated Constants§
Required Associated Types§
Sourcetype Offset: OffsetSizeTrait
type Offset: OffsetSizeTrait
Type of offset i.e i32/i64
Required Methods§
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.