fn from(op: &str) -> SystemOperation {
        match op {
            "GetHardwareThreads" => SystemOperation::GetHardwareThreads,
            "Stats" => SystemOperation::Stats,
            "GetCoreID" => SystemOperation::GetCoreID,
            _ => SystemOperation::Unknown,
        }
    }
/// Construct a SystemOperation enum based on a str.
Construct a SystemOperation enum based on a str.
Construct a SystemOperation enum based on a str .
fn from(op: &str) -> SystemOperation {
        match op {
            "GetHardwareThreads" => SystemOperation::GetHardwareThreads,
            "Stats" => SystemOperation::Stats,
            "GetCoreID" => SystemOperation::GetCoreID,
            _ => SystemOperation::Unknown,
        }
    }
fn from ( op : & str ) -> SystemOperation { match op { " " => SystemOperation :: GetHardwareThreads , " " => SystemOperation :: Stats , " " => SystemOperation :: GetCoreID , _ => SystemOperation :: Unknown , } }
Construct a SystemOperation enum based on a str.
Construct a SystemOperation enum based on a str .
op
&str
op
&str