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