[][src]Struct arrow::ipc::gen::Schema::Feature

#[repr(transparent)]pub struct Feature(pub i64);

Represents Arrow Features that might not have full support within implementations. This is intended to be used in two scenarios:

  1. A mechanism for readers of Arrow Streams and files to understand that the stream or file makes use of a feature that isn't supported or unknown to the implementation (and therefore can meet the Arrow forward compatibility guarantees).
  2. A means of negotiating between a client and server what features a stream is allowed to use. The enums values here are intented to represent higher level features, additional details maybe negotiated with key-value pairs specific to the protocol.

Enums added to this list should be assigned power-of-two values to facilitate exchanging and comparing bitmaps for supported features.

Implementations

impl Feature[src]

pub const UNUSED: Self[src]

Needed to make flatbuffers happy.

pub const DICTIONARY_REPLACEMENT: Self[src]

The stream makes use of multiple full dictionaries with the same ID and assumes clients implement dictionary replacement correctly.

pub const COMPRESSED_BODY: Self[src]

The stream makes use of compressed bodies as described in Message.fbs.

pub const ENUM_MIN: i64[src]

pub const ENUM_MAX: i64[src]

pub const ENUM_VALUES: &'static [Self][src]

pub fn variant_name(self) -> Option<&'static str>[src]

Returns the variant's name or "" if unknown.

Trait Implementations

impl Clone for Feature[src]

impl Copy for Feature[src]

impl Debug for Feature[src]

impl EndianScalar for Feature[src]

impl Eq for Feature[src]

impl<'a> Follow<'a> for Feature[src]

type Inner = Self

impl Hash for Feature[src]

impl Ord for Feature[src]

impl PartialEq<Feature> for Feature[src]

impl PartialOrd<Feature> for Feature[src]

impl Push for Feature[src]

type Output = Feature

impl SimpleToVerifyInSlice for Feature[src]

impl StructuralEq for Feature[src]

impl StructuralPartialEq for Feature[src]

impl<'a> Verifiable for Feature[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,