pub enum ChipDetectionMethod {
AtsamDsu(AtsamDsuDetection),
Espressif(EspressifDetection),
NordicConfigId(NordicConfigIdDetection),
NordicFicrInfo(NordicFicrDetection),
InfineonXmcScu(InfineonXmcScuDetection),
InfineonPsocSiid(InfineonPsocSiidDetection),
}Expand description
Vendor-specific chip detection information.
Variants§
AtsamDsu(AtsamDsuDetection)
Microchip ATSAM chip detection information.
Espressif(EspressifDetection)
Espressif chip detection information.
NordicConfigId(NordicConfigIdDetection)
Nordic Semiconductor FICR CONFIGID-based chip detection information.
NordicFicrInfo(NordicFicrDetection)
Nordic Semiconductor FICR INFO-based chip detection information.
InfineonXmcScu(InfineonXmcScuDetection)
Infineon XMC4000 SCU chip detection information.
InfineonPsocSiid(InfineonPsocSiidDetection)
Infineon PSOC silicon ID chip detection information.
Implementations§
Source§impl ChipDetectionMethod
impl ChipDetectionMethod
Sourcepub fn as_atsam_dsu(&self) -> Option<&AtsamDsuDetection>
pub fn as_atsam_dsu(&self) -> Option<&AtsamDsuDetection>
Returns the ATSAM detection information if available.
Sourcepub fn as_espressif(&self) -> Option<&EspressifDetection>
pub fn as_espressif(&self) -> Option<&EspressifDetection>
Returns the Espressif detection information if available.
Sourcepub fn as_nordic_configid(&self) -> Option<&NordicConfigIdDetection>
pub fn as_nordic_configid(&self) -> Option<&NordicConfigIdDetection>
Returns the Nordic CONFIGID detection information if available.
Sourcepub fn as_nordic_ficr(&self) -> Option<&NordicFicrDetection>
pub fn as_nordic_ficr(&self) -> Option<&NordicFicrDetection>
Returns the Nordic FICR detection information if available.
Sourcepub fn as_infineon_xmc_scu(&self) -> Option<&InfineonXmcScuDetection>
pub fn as_infineon_xmc_scu(&self) -> Option<&InfineonXmcScuDetection>
Returns the Infineon XMC SCU detection information if available.
Sourcepub fn as_infineon_psoc_siid(&self) -> Option<&InfineonPsocSiidDetection>
pub fn as_infineon_psoc_siid(&self) -> Option<&InfineonPsocSiidDetection>
Returns the Infineon PSOC silicon ID detection information if available.
Trait Implementations§
Source§impl Clone for ChipDetectionMethod
impl Clone for ChipDetectionMethod
Source§fn clone(&self) -> ChipDetectionMethod
fn clone(&self) -> ChipDetectionMethod
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 ChipDetectionMethod
impl Debug for ChipDetectionMethod
Source§impl<'de> Deserialize<'de> for ChipDetectionMethod
impl<'de> Deserialize<'de> for ChipDetectionMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChipDetectionMethod
impl RefUnwindSafe for ChipDetectionMethod
impl Send for ChipDetectionMethod
impl Sync for ChipDetectionMethod
impl Unpin for ChipDetectionMethod
impl UnwindSafe for ChipDetectionMethod
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