pub enum TargetDescriptionSource {
Generic,
BuiltIn,
External,
}
Expand description
Source of a target description.
This is used for diagnostics, when an error related to a target description occurs.
Variants§
Generic
The target description is a generic target description, which just describes a core type (e.g. M4), without any flash algorithm or memory description.
BuiltIn
The target description is a built-in target description, which was included into probe-rs at compile time.
External
The target description was from an external source during runtime.
Trait Implementations§
source§impl Clone for TargetDescriptionSource
impl Clone for TargetDescriptionSource
source§fn clone(&self) -> TargetDescriptionSource
fn clone(&self) -> TargetDescriptionSource
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 TargetDescriptionSource
impl Debug for TargetDescriptionSource
source§impl PartialEq for TargetDescriptionSource
impl PartialEq for TargetDescriptionSource
source§fn eq(&self, other: &TargetDescriptionSource) -> bool
fn eq(&self, other: &TargetDescriptionSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TargetDescriptionSource
impl StructuralPartialEq for TargetDescriptionSource
Auto Trait Implementations§
impl RefUnwindSafe for TargetDescriptionSource
impl Send for TargetDescriptionSource
impl Sync for TargetDescriptionSource
impl Unpin for TargetDescriptionSource
impl UnwindSafe for TargetDescriptionSource
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