fn from(op: u64) -> FileOperation {
        match op {
            1 => FileOperation::Create,
            2 => FileOperation::Open,
            3 => FileOperation::Read,
            4 => FileOperation::ReadAt,
            5 => FileOperation::Write,
            6 => FileOperation::WriteAt,
            7 => FileOperation::Close,
            8 => FileOperation::GetInfo,
            9 => FileOperation::Delete,
            10 => FileOperation::WriteDirect,
            11 => FileOperation::FileRename,
            12 => FileOperation::MkDir,
            _ => FileOperation::Unknown,
        }
    }
/// Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64 - bit value .
fn from(op: u64) -> FileOperation {
        match op {
            1 => FileOperation::Create,
            2 => FileOperation::Open,
            3 => FileOperation::Read,
            4 => FileOperation::ReadAt,
            5 => FileOperation::Write,
            6 => FileOperation::WriteAt,
            7 => FileOperation::Close,
            8 => FileOperation::GetInfo,
            9 => FileOperation::Delete,
            10 => FileOperation::WriteDirect,
            11 => FileOperation::FileRename,
            12 => FileOperation::MkDir,
            _ => FileOperation::Unknown,
        }
    }
fn from ( op : u64 ) -> FileOperation { match op { 1 => FileOperation :: Create , 2 => FileOperation :: Open , 3 => FileOperation :: Read , 4 => FileOperation :: ReadAt , 5 => FileOperation :: Write , 6 => FileOperation :: WriteAt , 7 => FileOperation :: Close , 8 => FileOperation :: GetInfo , 9 => FileOperation :: Delete , 10 => FileOperation :: WriteDirect , 11 => FileOperation :: FileRename , 12 => FileOperation :: MkDir , _ => FileOperation :: Unknown , } }
Construct a SystemCall enum based on a 64-bit value.
Construct a SystemCall enum based on a 64 - bit value .
op
u64
op
u64