Enum probe_rs::config::TargetDescriptionSource
source · [−]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
sourceimpl Clone for TargetDescriptionSource
impl Clone for TargetDescriptionSource
sourcefn clone(&self) -> TargetDescriptionSource
fn clone(&self) -> TargetDescriptionSource
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 more
sourceimpl Debug for TargetDescriptionSource
impl Debug 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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