#[repr(u8)]pub enum BootloaderPartitionSubType {
Primary = 0,
Ota = 1,
}Expand description
Sub-type of the bootloader partition type.
Variants§
Primary = 0
It is the so-called 2nd stage bootloader.
Ota = 1
It is a temporary bootloader partition used by the bootloader OTA update functionality for downloading a new image.
Implementations§
Trait Implementations§
Source§impl Clone for BootloaderPartitionSubType
impl Clone for BootloaderPartitionSubType
Source§fn clone(&self) -> BootloaderPartitionSubType
fn clone(&self) -> BootloaderPartitionSubType
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 BootloaderPartitionSubType
impl Debug for BootloaderPartitionSubType
Source§impl Hash for BootloaderPartitionSubType
impl Hash for BootloaderPartitionSubType
Source§impl TryFrom<u8> for BootloaderPartitionSubType
impl TryFrom<u8> for BootloaderPartitionSubType
impl Copy for BootloaderPartitionSubType
impl Eq for BootloaderPartitionSubType
impl StructuralPartialEq for BootloaderPartitionSubType
Auto Trait Implementations§
impl Freeze for BootloaderPartitionSubType
impl RefUnwindSafe for BootloaderPartitionSubType
impl Send for BootloaderPartitionSubType
impl Sync for BootloaderPartitionSubType
impl Unpin for BootloaderPartitionSubType
impl UnwindSafe for BootloaderPartitionSubType
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