#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum ESteamPipeOperationType {
Invalid = 0,
DecryptCPU = 1,
DiskRead = 2,
DiskWrite = 3,
}
impl ESteamPipeOperationType {
pub fn from_i32(val: i32) -> Option<Self> {
match val {
x if x == Self::Invalid as i32 => Some(Self::Invalid),
x if x == Self::DecryptCPU as i32 => Some(Self::DecryptCPU),
x if x == Self::DiskRead as i32 => Some(Self::DiskRead),
x if x == Self::DiskWrite as i32 => Some(Self::DiskWrite),
_ => None,
}
}
}