mirror of
https://github.com/cccb/servicepoint.git
synced 2025-01-19 02:20:12 +01:00
03aa432655
add uniffi clone
15 lines
358 B
Rust
15 lines
358 B
Rust
#[repr(u16)]
|
|
#[derive(Debug, Clone, Copy, PartialEq, uniffi::Enum)]
|
|
pub enum CompressionCode {
|
|
/// no compression
|
|
Uncompressed = 0x0,
|
|
/// compress using flate2 with zlib header
|
|
Zlib = 0x677a,
|
|
/// compress using bzip2
|
|
Bzip2 = 0x627a,
|
|
/// compress using lzma
|
|
Lzma = 0x6c7a,
|
|
/// compress using Zstandard
|
|
Zstd = 0x7a73,
|
|
}
|