/// Construct a SystemCall enum based on a str.
Construct a SystemCall enum based on a str.
Construct a SystemCall enum based on a str .
fn from(op: &str) -> SystemCall {
        match op {
            "System" => SystemCall::System,
            "Process" => SystemCall::Process,
            "VSpace" => SystemCall::VSpace,
            "FileIO" => SystemCall::FileIO,
            _ => SystemCall::Unknown,
        }
    }
fn from ( op : & str ) -> SystemCall { match op { " " => SystemCall :: System , " " => SystemCall :: Process , " " => SystemCall :: VSpace , " " => SystemCall :: FileIO , _ => SystemCall :: Unknown , } }
Construct a SystemCall enum based on a str.
Construct a SystemCall enum based on a str .
op
&str