monger-core 0.14.0

MongoDB version manager
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#[derive(Clone, Copy, Debug)]
pub enum Architecture {
    #[allow(dead_code)]
    Arm,

    #[allow(non_camel_case_types)]
    X86_64,
}

impl Architecture {
    pub fn name(self) -> &'static str {
        match self {
            Architecture::Arm => "arm64",
            Architecture::X86_64 => "x86_64",
        }
    }
}