Struct arrow::ipc::gen::Message::MessageHeader [−][src]
#[repr(transparent)]pub struct MessageHeader(pub u8);
Expand description
The root Message type This union enables us to easily send different message types without redundant storage, and in the future we can easily add new message types.
Arrow implementations do not need to implement all of the message types, which may include experimental metadata types. For maximum compatibility, it is best to send data using RecordBatch
Implementations
impl MessageHeader
[src]
impl MessageHeader
[src]pub const NONE: Self
[src]
pub const Schema: Self
[src]
pub const DictionaryBatch: Self
[src]
pub const RecordBatch: Self
[src]
pub const Tensor: Self
[src]
pub const SparseTensor: Self
[src]
pub const ENUM_MIN: u8
[src]
pub const ENUM_MAX: u8
[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 Clone for MessageHeader
[src]
impl Clone for MessageHeader
[src]fn clone(&self) -> MessageHeader
[src]
fn clone(&self) -> MessageHeader
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for MessageHeader
[src]
impl Debug for MessageHeader
[src]impl EndianScalar for MessageHeader
[src]
impl EndianScalar for MessageHeader
[src]impl<'a> Follow<'a> for MessageHeader
[src]
impl<'a> Follow<'a> for MessageHeader
[src]impl Hash for MessageHeader
[src]
impl Hash for MessageHeader
[src]impl Ord for MessageHeader
[src]
impl Ord for MessageHeader
[src]impl PartialEq<MessageHeader> for MessageHeader
[src]
impl PartialEq<MessageHeader> for MessageHeader
[src]fn eq(&self, other: &MessageHeader) -> bool
[src]
fn eq(&self, other: &MessageHeader) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MessageHeader) -> bool
[src]
fn ne(&self, other: &MessageHeader) -> bool
[src]This method tests for !=
.
impl PartialOrd<MessageHeader> for MessageHeader
[src]
impl PartialOrd<MessageHeader> for MessageHeader
[src]fn partial_cmp(&self, other: &MessageHeader) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &MessageHeader) -> 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 Push for MessageHeader
[src]
impl Push for MessageHeader
[src]impl<'a> Verifiable for MessageHeader
[src]
impl<'a> Verifiable for MessageHeader
[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 MessageHeader
[src]
impl Eq for MessageHeader
[src]
impl SimpleToVerifyInSlice for MessageHeader
[src]
impl StructuralEq for MessageHeader
[src]
impl StructuralPartialEq for MessageHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessageHeader
impl Send for MessageHeader
impl Sync for MessageHeader
impl Unpin for MessageHeader
impl UnwindSafe for MessageHeader
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>,