#[repr(u16)]pub enum FilesystemType {
Undefined = 0,
GenericFlat = 1,
GenericHierarchical = 2,
Dcf = 3,
Unknown(u16),
}Expand description
Type of filesystem on the storage.
Variants§
Undefined = 0
Undefined filesystem type.
GenericFlat = 1
Generic flat filesystem (no folders).
GenericHierarchical = 2
Generic hierarchical filesystem (with folders).
Dcf = 3
DCF (Design rule for Camera File system).
Unknown(u16)
Unknown filesystem type code.
Trait Implementations§
Source§impl Clone for FilesystemType
impl Clone for FilesystemType
Source§fn clone(&self) -> FilesystemType
fn clone(&self) -> FilesystemType
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 FilesystemType
impl Debug for FilesystemType
Source§impl Default for FilesystemType
impl Default for FilesystemType
Source§impl From<FilesystemType> for u16
impl From<FilesystemType> for u16
Source§fn from(enum_value: FilesystemType) -> Self
fn from(enum_value: FilesystemType) -> Self
Converts to this type from the input type.
Source§impl From<u16> for FilesystemType
impl From<u16> for FilesystemType
Source§impl FromPrimitive for FilesystemType
impl FromPrimitive for FilesystemType
Source§impl PartialEq for FilesystemType
impl PartialEq for FilesystemType
impl Copy for FilesystemType
impl Eq for FilesystemType
impl StructuralPartialEq for FilesystemType
Auto Trait Implementations§
impl Freeze for FilesystemType
impl RefUnwindSafe for FilesystemType
impl Send for FilesystemType
impl Sync for FilesystemType
impl Unpin for FilesystemType
impl UnsafeUnpin for FilesystemType
impl UnwindSafe for FilesystemType
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