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§impl Debug for TargetDescriptionSource
impl Debug for TargetDescriptionSource
impl Eq for TargetDescriptionSource
Source§impl PartialEq for TargetDescriptionSource
impl PartialEq for TargetDescriptionSource
impl StructuralPartialEq for TargetDescriptionSource
Auto Trait Implementations§
impl Freeze for TargetDescriptionSource
impl RefUnwindSafe for TargetDescriptionSource
impl Send for TargetDescriptionSource
impl Sync for TargetDescriptionSource
impl Unpin for TargetDescriptionSource
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.