pub enum FATType {
FAT12,
FAT16,
FAT32,
ExFAT,
}Expand description
An enum representing different variants of the FAT filesystem
The logic is essentially the same in all of them, the only thing that changes is the size in bytes of FAT entries, and thus the maximum volume size
Variants§
FAT12
One of the earliest versions, originally used all the way back to 1980. This probably won’t be encountered anywhere outside ancient MS-DOS versions or pretty low-size volumes, like microcontrollers
Max volume size: 8 MB
FAT16
Used in many low-size volumes
Min volume size: 8 MB, Max volume size: 16 GB
FAT32
The most commonly-used variant.
Min volume size: 256 MB, Max volume size: 16 TB
ExFAT
An ex-proprietory filesystem that allows for even larger storage sizes and its use is currently on the rise
Not currently supported
Trait Implementations§
impl Copy for FATType
impl Eq for FATType
impl StructuralPartialEq for FATType
Auto Trait Implementations§
impl Freeze for FATType
impl RefUnwindSafe for FATType
impl Send for FATType
impl Sync for FATType
impl Unpin for FATType
impl UnwindSafe for FATType
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