#[allow(clippy::upper_case_acronyms)]
#[derive(Debug, PartialEq, Eq, Clone, Copy, FromPrimitive)]
/// Available compression algorithms.
/// Ref: https://tools.ietf.org/html/rfc4880.html#section-9.3
#[repr(u8)]
pub enum CompressionAlgorithm {
Uncompressed = 0,
ZIP = 1,
ZLIB = 2,
BZip2 = 3,
/// Do not use, just for compatability with GnuPG.
Private10 = 110,
}