Struct arrow::ipc::gen::Message::BodyCompressionMethod [−][src]
#[repr(transparent)]pub struct BodyCompressionMethod(pub i8);
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]
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]
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]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BodyCompressionMethod
[src]
impl Copy for BodyCompressionMethod
[src]impl EndianScalar for BodyCompressionMethod
[src]
impl EndianScalar for BodyCompressionMethod
[src]fn to_little_endian(self) -> Self
[src]
fn from_little_endian(self) -> Self
[src]
impl Eq for BodyCompressionMethod
[src]
impl Eq 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 ne(&self, other: &BodyCompressionMethod) -> bool
[src]
impl PartialOrd<BodyCompressionMethod> for BodyCompressionMethod
[src]
impl PartialOrd<BodyCompressionMethod> for BodyCompressionMethod
[src]fn partial_cmp(&self, other: &BodyCompressionMethod) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Push for BodyCompressionMethod
[src]
impl Push for BodyCompressionMethod
[src]impl StructuralEq for BodyCompressionMethod
[src]
impl StructuralEq 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]
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
Auto Trait Implementations
impl RefUnwindSafe for BodyCompressionMethod
impl RefUnwindSafe for BodyCompressionMethod
impl Send for BodyCompressionMethod
impl Send for BodyCompressionMethod
impl Sync for BodyCompressionMethod
impl Sync for BodyCompressionMethod
impl Unpin for BodyCompressionMethod
impl Unpin for BodyCompressionMethod
impl UnwindSafe for BodyCompressionMethod
impl UnwindSafe for BodyCompressionMethod
Blanket Implementations
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]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,