#[repr(u8)]pub enum DataPartitionSubType {
Ota = 0,
Phy = 1,
Nvs = 2,
Coredump = 3,
NvsKeys = 4,
EfuseEm = 5,
Undefined = 6,
Fat = 129,
Spiffs = 130,
LittleFs = 131,
}Expand description
Sub-types of the data partition type.
Variants§
Ota = 0
Data partition which stores information about the currently selected OTA app slot. This partition should be 0x2000 bytes in size. Refer to the OTA documentation for more details.
Phy = 1
Phy is for storing PHY initialization data. This allows PHY to be configured per-device, instead of in firmware.
Nvs = 2
Used for Non-Volatile Storage (NVS).
Coredump = 3
Used for storing core dumps while using a custom partition table
NvsKeys = 4
NvsKeys is used for the NVS key partition. (NVS).
EfuseEm = 5
Used for emulating eFuse bits using Virtual eFuses.
Undefined = 6
Implicitly used for data partitions with unspecified (empty) subtype, but it is possible to explicitly mark them as undefined as well.
Fat = 129
FAT Filesystem Support.
Spiffs = 130
SPIFFS Filesystem.
LittleFs = 131
LittleFS filesystem.
Implementations§
Trait Implementations§
Source§impl Clone for DataPartitionSubType
impl Clone for DataPartitionSubType
Source§fn clone(&self) -> DataPartitionSubType
fn clone(&self) -> DataPartitionSubType
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 DataPartitionSubType
impl Debug for DataPartitionSubType
Source§impl Hash for DataPartitionSubType
impl Hash for DataPartitionSubType
Source§impl PartialEq for DataPartitionSubType
impl PartialEq for DataPartitionSubType
Source§impl TryFrom<u8> for DataPartitionSubType
impl TryFrom<u8> for DataPartitionSubType
impl Copy for DataPartitionSubType
impl Eq for DataPartitionSubType
impl StructuralPartialEq for DataPartitionSubType
Auto Trait Implementations§
impl Freeze for DataPartitionSubType
impl RefUnwindSafe for DataPartitionSubType
impl Send for DataPartitionSubType
impl Sync for DataPartitionSubType
impl Unpin for DataPartitionSubType
impl UnwindSafe for DataPartitionSubType
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