Struct arrow::ipc::gen::Schema::Feature [−][src]
#[repr(transparent)]pub struct Feature(pub i64);
Expand description
Represents Arrow Features that might not have full support within implementations. This is intended to be used in two scenarios:
- 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).
- 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]
impl Feature
[src]pub const DICTIONARY_REPLACEMENT: Self
[src]
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]
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]
pub fn variant_name(self) -> Option<&'static str>
[src]Returns the variant’s name or “” if unknown.
Trait Implementations
impl EndianScalar for Feature
[src]
impl EndianScalar for Feature
[src]impl Ord for Feature
[src]
impl Ord for Feature
[src]impl PartialOrd<Feature> for Feature
[src]
impl PartialOrd<Feature> for Feature
[src]fn partial_cmp(&self, other: &Feature) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Feature) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl<'a> Verifiable for Feature
[src]
impl<'a> Verifiable for Feature
[src]fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]
fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
[src]Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
impl Copy for Feature
[src]
impl Eq for Feature
[src]
impl SimpleToVerifyInSlice for Feature
[src]
impl StructuralEq for Feature
[src]
impl StructuralPartialEq for Feature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnwindSafe for Feature
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,