#[repr(u32)]pub enum FileCategory {
Unknown = 0,
DynamicModule = 1,
BinaryDataDump = 2,
TextLog = 3,
Script = 4,
Temp = 5,
}Expand description
Generalized file types/categories known to FS.
This is used by parse_input_filename to apply default paths and extensions.
Variants§
Unknown = 0
An unknown or unspecified file category.
DynamicModule = 1
A dynamically loadable module file (e.g., .so).
BinaryDataDump = 2
A binary data dump file.
TextLog = 3
A text-based log file.
Script = 4
A script file (e.g., an ES startup script).
Temp = 5
A temporary or ephemeral file.
Trait Implementations§
Source§impl Clone for FileCategory
impl Clone for FileCategory
Source§fn clone(&self) -> FileCategory
fn clone(&self) -> FileCategory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileCategory
impl Debug for FileCategory
Source§impl PartialEq for FileCategory
impl PartialEq for FileCategory
impl Copy for FileCategory
impl Eq for FileCategory
impl StructuralPartialEq for FileCategory
Auto Trait Implementations§
impl Freeze for FileCategory
impl RefUnwindSafe for FileCategory
impl Send for FileCategory
impl Sync for FileCategory
impl Unpin for FileCategory
impl UnsafeUnpin for FileCategory
impl UnwindSafe for FileCategory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more