pubmodsnappy;pubmodgzip;/// Compression types supported by kafka. The numeral values of this
/// enumeration correspond to the compression encoding in the
/// attributes of a Message in the protocol.
#[derive(Debug, Copy, Clone)]pubenumCompression{NONE=0,GZIP=1,SNAPPY=2}implDefault forCompression{fndefault()->Self{Compression::NONE}}