Struct bzip2::Compression [−][src]
pub struct Compression(_);
Expand description
When compressing data, the compression level can be specified by a value in this enum.
Implementations
Create a new compression spec with a specific numeric level (0-9).
Do not compress.
Optimize for the best speed of encoding.
Optimize for the size of data being encoded.
Trait Implementations
Choose the default compression, a balance between speed and size.
Auto Trait Implementations
impl RefUnwindSafe for Compression
impl Send for Compression
impl Sync for Compression
impl Unpin for Compression
impl UnwindSafe for Compression
Blanket Implementations
Mutably borrows from an owned value. Read more