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
Tuple Fields
0: i8
Implementations
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.
Returns the variant’s name or “” if unknown.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
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
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.