#[repr(u8)]pub enum PartitionTablePartitionSubType {
Primary = 0,
Ota = 1,
}Expand description
Sub-type of the partition table type.
Variants§
Primary = 0
It is the primary partition table.
Ota = 1
It is a temporary partition table partition used by the partition table OTA update functionality for downloading a new image.
Implementations§
Trait Implementations§
Source§impl Clone for PartitionTablePartitionSubType
impl Clone for PartitionTablePartitionSubType
Source§fn clone(&self) -> PartitionTablePartitionSubType
fn clone(&self) -> PartitionTablePartitionSubType
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 PartialEq for PartitionTablePartitionSubType
impl PartialEq for PartitionTablePartitionSubType
Source§fn eq(&self, other: &PartitionTablePartitionSubType) -> bool
fn eq(&self, other: &PartitionTablePartitionSubType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u8> for PartitionTablePartitionSubType
impl TryFrom<u8> for PartitionTablePartitionSubType
impl Copy for PartitionTablePartitionSubType
impl Eq for PartitionTablePartitionSubType
impl StructuralPartialEq for PartitionTablePartitionSubType
Auto Trait Implementations§
impl Freeze for PartitionTablePartitionSubType
impl RefUnwindSafe for PartitionTablePartitionSubType
impl Send for PartitionTablePartitionSubType
impl Sync for PartitionTablePartitionSubType
impl Unpin for PartitionTablePartitionSubType
impl UnwindSafe for PartitionTablePartitionSubType
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