#[repr(u8)]pub enum DataPartitionType {
Ota = 0,
Phy = 1,
Nvs = 2,
CoreDump = 3,
NvsKeys = 4,
EfuseEm = 5,
Undefined = 6,
EspHttpd = 128,
Fat = 129,
SpiFfs = 130,
LittleFS = 131,
}
Expand description
Data partition subtype
Variants§
Ota = 0
OTA data
Phy = 1
Phy data
Nvs = 2
Non-volatile storage data
CoreDump = 3
Core dump
NvsKeys = 4
Encrypted non-volatile storage keys
EfuseEm = 5
Efuse data
Undefined = 6
Undefined data
EspHttpd = 128
ESP HTTPd data
Fat = 129
FAT partition
SpiFfs = 130
SPIFFS partition
LittleFS = 131
LittleFS partition
Trait Implementations§
Source§impl Clone for DataPartitionType
impl Clone for DataPartitionType
Source§fn clone(&self) -> DataPartitionType
fn clone(&self) -> DataPartitionType
Returns a copy 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 DataPartitionType
impl Debug for DataPartitionType
Source§impl Default for DataPartitionType
impl Default for DataPartitionType
Source§fn default() -> DataPartitionType
fn default() -> DataPartitionType
Returns the “default value” for a type. Read more
Source§impl From<DataPartitionType> for PartitionType
impl From<DataPartitionType> for PartitionType
Source§fn from(subtype: DataPartitionType) -> Self
fn from(subtype: DataPartitionType) -> Self
Converts to this type from the input type.
Source§impl From<DataPartitionType> for u8
impl From<DataPartitionType> for u8
Source§fn from(ty: DataPartitionType) -> Self
fn from(ty: DataPartitionType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DataPartitionType
impl PartialEq for DataPartitionType
Source§impl TryFrom<u8> for DataPartitionType
impl TryFrom<u8> for DataPartitionType
impl Copy for DataPartitionType
impl Eq for DataPartitionType
impl StructuralPartialEq for DataPartitionType
Auto Trait Implementations§
impl Freeze for DataPartitionType
impl RefUnwindSafe for DataPartitionType
impl Send for DataPartitionType
impl Sync for DataPartitionType
impl Unpin for DataPartitionType
impl UnwindSafe for DataPartitionType
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