fn from(op: u64) -> ProcessOperation {
        match op {
            1 => ProcessOperation::Exit,
            2 => ProcessOperation::Log,
            3 => ProcessOperation::GetVCpuArea,
            4 => ProcessOperation::AllocateVector,
            5 => ProcessOperation::SubscribeEvent,
            6 => ProcessOperation::GetProcessInfo,
            7 => ProcessOperation::RequestCore,
            8 => ProcessOperation::AllocatePhysical,
            _ => ProcessOperation::Unknown,
        }
    }
/// Construct a ProcessOperation enum based on a 64-bit value.
Construct a ProcessOperation enum based on a 64-bit value.
Construct a ProcessOperation enum based on a 64 - bit value .
fn from(op: u64) -> ProcessOperation {
        match op {
            1 => ProcessOperation::Exit,
            2 => ProcessOperation::Log,
            3 => ProcessOperation::GetVCpuArea,
            4 => ProcessOperation::AllocateVector,
            5 => ProcessOperation::SubscribeEvent,
            6 => ProcessOperation::GetProcessInfo,
            7 => ProcessOperation::RequestCore,
            8 => ProcessOperation::AllocatePhysical,
            _ => ProcessOperation::Unknown,
        }
    }
fn from ( op : u64 ) -> ProcessOperation { match op { 1 => ProcessOperation :: Exit , 2 => ProcessOperation :: Log , 3 => ProcessOperation :: GetVCpuArea , 4 => ProcessOperation :: AllocateVector , 5 => ProcessOperation :: SubscribeEvent , 6 => ProcessOperation :: GetProcessInfo , 7 => ProcessOperation :: RequestCore , 8 => ProcessOperation :: AllocatePhysical , _ => ProcessOperation :: Unknown , } }
Construct a ProcessOperation enum based on a 64-bit value.
Construct a ProcessOperation enum based on a 64 - bit value .
op
u64
op
u64