Enum app_dirs2::AppDataType [−][src]
pub enum AppDataType {
UserConfig,
UserData,
UserCache,
SharedData,
SharedConfig,
}
Expand description
Enum specifying the type of app data you want to store.
Different platforms are NOT guaranteed to distinguish between each data type. Keep this in mind when choosing data file paths.
Example: Windows does not supported shared application data and does not
distinguish between config and data. Therefore, on Windows, all variants
except UserCache
return the same path.
Variants
User-specific app configuration data.
User-specific arbitrary app data.
User-specific app cache data.
System-wide arbitrary app data.
System-wide app configuration data.
Implementations
Returns true
for non-user-specific data types.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AppDataType
impl Send for AppDataType
impl Sync for AppDataType
impl Unpin for AppDataType
impl UnwindSafe for AppDataType
Blanket Implementations
Mutably borrows from an owned value. Read more