#[repr(u8)]pub enum DataPartitionType {
Ota,
Phy,
Nvs,
CoreDump,
NvsKeys,
EfuseEm,
Undefined,
EspHttpd,
Fat,
SpiFfs,
}Expand description
Data partition subtype
Variants§
Ota
OTA data
Phy
Phy data
Nvs
Non-volatile storage data
CoreDump
Core dump
NvsKeys
Encrypted non-volatile storage keys
EfuseEm
Efuse data
Undefined
Undefined data
EspHttpd
ESP HTTPd data
Fat
FAT partition
SpiFfs
SPIFFS 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<DataPartitionType> for DataPartitionType
impl PartialEq<DataPartitionType> for DataPartitionType
source§fn eq(&self, other: &DataPartitionType) -> bool
fn eq(&self, other: &DataPartitionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u8> for DataPartitionType
impl TryFrom<u8> for DataPartitionType
impl Copy for DataPartitionType
impl Eq for DataPartitionType
impl StructuralEq for DataPartitionType
impl StructuralPartialEq for DataPartitionType
Auto Trait Implementations§
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