Enum probe_rs::AttachMethod
source · [−]pub enum AttachMethod {
Normal,
UnderReset,
}
Expand description
The method that should be used for attaching.
Variants
Normal
Attach normally with no special behavior.
UnderReset
Attach to the target while it is in reset.
This is required on targets that can remap SWD pins or disable the SWD interface in sleep.
Trait Implementations
sourceimpl Clone for AttachMethod
impl Clone for AttachMethod
sourcefn clone(&self) -> AttachMethod
fn clone(&self) -> AttachMethod
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 AttachMethod
impl Debug for AttachMethod
sourceimpl PartialEq<AttachMethod> for AttachMethod
impl PartialEq<AttachMethod> for AttachMethod
impl Copy for AttachMethod
impl StructuralPartialEq for AttachMethod
Auto Trait Implementations
impl RefUnwindSafe for AttachMethod
impl Send for AttachMethod
impl Sync for AttachMethod
impl Unpin for AttachMethod
impl UnwindSafe for AttachMethod
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