Skip to main content

TryFromArrowType

Trait TryFromArrowType 

Source
pub trait TryFromArrowType<T>: Sized {
    // Required method
    fn try_from_arrow(value: T) -> VortexResult<Self>;
}
Expand description

Trait for converting Vortex types to Arrow types.

Required Methods§

Source

fn try_from_arrow(value: T) -> VortexResult<Self>

Convert the Arrow type to a Vortex type.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TryFromArrowType<&DataType> for DecimalDType

Source§

impl TryFromArrowType<&DataType> for PType

Source§

impl TryFromArrowType<&Field> for DType

Source§

impl TryFromArrowType<&Fields> for StructFields

Source§

impl TryFromArrowType<&Schema> for DType

Source§

impl TryFromArrowType<(&DataType, Nullability)> for DType

Source§

fn try_from_arrow( (data_type, nullability): (&DataType, Nullability), ) -> VortexResult<Self>

Source§

impl TryFromArrowType<Arc<Schema>> for DType

Implementors§