Enum parquet2::compression::CompressionOptions
source · [−]pub enum CompressionOptions {
Uncompressed,
Snappy,
Gzip,
Lzo,
Brotli,
Lz4,
Zstd(Option<ZstdLevel>),
Lz4Raw,
}
Expand description
Defines the compression settings for writing a parquet file.
Variants
Uncompressed
Snappy
Gzip
Lzo
Brotli
Lz4
Zstd(Option<ZstdLevel>)
Lz4Raw
Trait Implementations
sourceimpl Clone for CompressionOptions
impl Clone for CompressionOptions
sourcefn clone(&self) -> CompressionOptions
fn clone(&self) -> CompressionOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompressionOptions
impl Debug for CompressionOptions
sourceimpl From<CompressionOptions> for Compression
impl From<CompressionOptions> for Compression
sourcefn from(value: CompressionOptions) -> Self
fn from(value: CompressionOptions) -> Self
Converts to this type from the input type.
sourceimpl From<CompressionOptions> for CompressionCodec
impl From<CompressionOptions> for CompressionCodec
sourcefn from(codec: CompressionOptions) -> Self
fn from(codec: CompressionOptions) -> Self
Converts to this type from the input type.
sourceimpl Hash for CompressionOptions
impl Hash for CompressionOptions
sourceimpl PartialEq<CompressionOptions> for CompressionOptions
impl PartialEq<CompressionOptions> for CompressionOptions
sourcefn eq(&self, other: &CompressionOptions) -> bool
fn eq(&self, other: &CompressionOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CompressionOptions) -> bool
fn ne(&self, other: &CompressionOptions) -> bool
This method tests for !=
.
impl Copy for CompressionOptions
impl Eq for CompressionOptions
impl StructuralEq for CompressionOptions
impl StructuralPartialEq for CompressionOptions
Auto Trait Implementations
impl RefUnwindSafe for CompressionOptions
impl Send for CompressionOptions
impl Sync for CompressionOptions
impl Unpin for CompressionOptions
impl UnwindSafe for CompressionOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more