Enum lpc55::protected_flash::debug::DebugAccess
source · [−]pub enum DebugAccess {
Default,
Disabled,
Enabled,
Authenticate,
Custom(DebugSettings),
}
Expand description
Wrapper around the detailed debug access settings, allowing to completely enable or disable with ease.
Use the custom variant for more detail.
Variants
Default
The state of an empty key (all four relevant words are all-zero)
It seems that this state has the same effect as Enabled
,
if not please open a GitHub issue!
Disabled
Debugging access is not possible
Enabled
Debugging access is possible
Authenticate
Debugger must present a Debug Credential (this functionality is not currently implemented or further exposed).
Custom(DebugSettings)
“Bring your own settings”
Trait Implementations
sourceimpl Clone for DebugAccess
impl Clone for DebugAccess
sourcefn clone(&self) -> DebugAccess
fn clone(&self) -> DebugAccess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DebugAccess
impl Debug for DebugAccess
sourceimpl Default for DebugAccess
impl Default for DebugAccess
sourceimpl<'de> Deserialize<'de> for DebugAccess
impl<'de> Deserialize<'de> for DebugAccess
sourcefn 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
sourceimpl From<DebugAccess> for DebugSettings
impl From<DebugAccess> for DebugSettings
sourcefn from(value: DebugAccess) -> Self
fn from(value: DebugAccess) -> Self
Converts to this type from the input type.
sourceimpl From<DebugSettings> for DebugAccess
impl From<DebugSettings> for DebugAccess
sourcefn from(settings: DebugSettings) -> Self
fn from(settings: DebugSettings) -> Self
Converts to this type from the input type.
sourceimpl Hash for DebugAccess
impl Hash for DebugAccess
sourceimpl Ord for DebugAccess
impl Ord for DebugAccess
sourcefn cmp(&self, other: &DebugAccess) -> Ordering
fn cmp(&self, other: &DebugAccess) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<DebugAccess> for DebugAccess
impl PartialEq<DebugAccess> for DebugAccess
sourcefn eq(&self, other: &DebugAccess) -> bool
fn eq(&self, other: &DebugAccess) -> bool
sourceimpl PartialOrd<DebugAccess> for DebugAccess
impl PartialOrd<DebugAccess> for DebugAccess
sourcefn partial_cmp(&self, other: &DebugAccess) -> Option<Ordering>
fn partial_cmp(&self, other: &DebugAccess) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for DebugAccess
impl Serialize for DebugAccess
impl Copy for DebugAccess
impl Eq for DebugAccess
impl StructuralEq for DebugAccess
impl StructuralPartialEq for DebugAccess
Auto Trait Implementations
impl RefUnwindSafe for DebugAccess
impl Send for DebugAccess
impl Sync for DebugAccess
impl Unpin for DebugAccess
impl UnwindSafe for DebugAccess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.