Enum probe_rs::WireProtocol
source · pub enum WireProtocol {
Swd,
Jtag,
}
Expand description
The protocol that is to be used by the probe when communicating with the target.
For ARM select Swd
and for RISC-V select Jtag
.
Variants§
Swd
Serial Wire Debug is ARMs proprietary standard for communicating with ARM cores.
You can find specifics in the ARM Debug Interface v5.2
specification.
Jtag
JTAG is a standard which is supported by many chips independent of architecture.
See Wikipedia
for more info.
Trait Implementations§
source§impl Clone for WireProtocol
impl Clone for WireProtocol
source§fn clone(&self) -> WireProtocol
fn clone(&self) -> WireProtocol
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 WireProtocol
impl Debug for WireProtocol
source§impl<'de> Deserialize<'de> for WireProtocol
impl<'de> Deserialize<'de> for WireProtocol
source§fn 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
source§impl Display for WireProtocol
impl Display for WireProtocol
source§impl FromStr for WireProtocol
impl FromStr for WireProtocol
source§impl PartialEq<WireProtocol> for WireProtocol
impl PartialEq<WireProtocol> for WireProtocol
source§fn eq(&self, other: &WireProtocol) -> bool
fn eq(&self, other: &WireProtocol) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WireProtocol
impl Serialize for WireProtocol
source§impl TryFrom<Interface> for WireProtocol
impl TryFrom<Interface> for WireProtocol
impl Copy for WireProtocol
impl Eq for WireProtocol
impl StructuralEq for WireProtocol
impl StructuralPartialEq for WireProtocol
Auto Trait Implementations§
impl RefUnwindSafe for WireProtocol
impl Send for WireProtocol
impl Sync for WireProtocol
impl Unpin for WireProtocol
impl UnwindSafe for WireProtocol
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.