Struct arrow::ipc::gen::Message::BodyCompressionMethod [−][src]
#[repr(transparent)]pub struct BodyCompressionMethod(pub i8);
Expand description
Provided for forward compatibility in case we need to support different strategies for compressing the IPC message body (like whole-body compression rather than buffer-level) in the future
Implementations
impl BodyCompressionMethod
[src]
impl BodyCompressionMethod
[src]pub const BUFFER: Self
[src]
pub const BUFFER: Self
[src]Each constituent buffer is first compressed with the indicated compressor, and then written with the uncompressed length in the first 8 bytes as a 64-bit little-endian signed integer followed by the compressed buffer bytes (and then padding as required by the protocol). The uncompressed length may be set to -1 to indicate that the data that follows is not compressed, which can be useful for cases where compression does not yield appreciable savings.
pub const ENUM_MIN: i8
[src]
pub const ENUM_MAX: i8
[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 BodyCompressionMethod
[src]
impl Clone for BodyCompressionMethod
[src]fn clone(&self) -> BodyCompressionMethod
[src]
fn clone(&self) -> BodyCompressionMethod
[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 BodyCompressionMethod
[src]
impl Debug for BodyCompressionMethod
[src]impl EndianScalar for BodyCompressionMethod
[src]
impl EndianScalar for BodyCompressionMethod
[src]impl<'a> Follow<'a> for BodyCompressionMethod
[src]
impl<'a> Follow<'a> for BodyCompressionMethod
[src]impl Hash for BodyCompressionMethod
[src]
impl Hash for BodyCompressionMethod
[src]impl Ord for BodyCompressionMethod
[src]
impl Ord for BodyCompressionMethod
[src]impl PartialEq<BodyCompressionMethod> for BodyCompressionMethod
[src]
impl PartialEq<BodyCompressionMethod> for BodyCompressionMethod
[src]fn eq(&self, other: &BodyCompressionMethod) -> bool
[src]
fn eq(&self, other: &BodyCompressionMethod) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &BodyCompressionMethod) -> bool
[src]
fn ne(&self, other: &BodyCompressionMethod) -> bool
[src]This method tests for !=
.
impl PartialOrd<BodyCompressionMethod> for BodyCompressionMethod
[src]
impl PartialOrd<BodyCompressionMethod> for BodyCompressionMethod
[src]fn partial_cmp(&self, other: &BodyCompressionMethod) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &BodyCompressionMethod) -> 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 BodyCompressionMethod
[src]
impl Push for BodyCompressionMethod
[src]impl<'a> Verifiable for BodyCompressionMethod
[src]
impl<'a> Verifiable for BodyCompressionMethod
[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 BodyCompressionMethod
[src]
impl Eq for BodyCompressionMethod
[src]
impl SimpleToVerifyInSlice for BodyCompressionMethod
[src]
impl StructuralEq for BodyCompressionMethod
[src]
impl StructuralPartialEq for BodyCompressionMethod
[src]
Auto Trait Implementations
impl RefUnwindSafe for BodyCompressionMethod
impl Send for BodyCompressionMethod
impl Sync for BodyCompressionMethod
impl Unpin for BodyCompressionMethod
impl UnwindSafe for BodyCompressionMethod
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>,