vmi-os-linux 0.13.0

Linux OS specific code for VMI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Error types for Linux operations.
#[derive(thiserror::Error, Debug)]
pub enum LinuxError {
    /// Corrupted struct.
    #[error("corrupted struct: {0}")]
    CorruptedStruct(&'static str),
}

impl From<LinuxError> for vmi_core::VmiError {
    fn from(value: LinuxError) -> Self {
        vmi_core::VmiError::Os(value.into())
    }
}