systeroid-core 0.1.0

Core library of systeroid
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// Possible ways of displaying the kernel parameters.
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum DisplayType {
    /// Print the kernel parameter name along with its value.
    Default,
    /// Print only the name of the parameter.
    Name,
    /// Print only the value of the parameter.
    Value,
    /// Print only the value of the parameter without new line.
    Binary,
}

impl Default for DisplayType {
    fn default() -> Self {
        Self::Default
    }
}