Returns the [`Architecture`] of the current variant. Can be used to extract the architecture without knowing which variant this is.
(&self)
| 946 | .as_ref() |
| 947 | } |
| 948 | } |
| 949 | |
| 950 | /// Package source keywords that are exclusive to the `pkgbase` section in SRCINFO data. |
| 951 | #[derive(Debug, EnumString, VariantNames)] |
| 952 | #[strum(serialize_all = "lowercase")] |
| 953 | pub enum SourceKeyword { |
| 954 | /// A source entry. |
| 955 | Source, |
| 956 | /// A noextract entry. |
| 957 | NoExtract, |
| 958 | /// A blake2 hash digest. |
| 959 | B2sums, |
| 960 | /// An MD-5 hash digest. |