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
sourceimpl Clone for WireProtocol
impl Clone for WireProtocol
sourcefn clone(&self) -> WireProtocol
fn clone(&self) -> WireProtocol
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 WireProtocol
impl Debug for WireProtocol
sourceimpl<'de> Deserialize<'de> for WireProtocol
impl<'de> Deserialize<'de> for WireProtocol
sourcefn 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
sourceimpl Display for WireProtocol
impl Display for WireProtocol
sourceimpl FromStr for WireProtocol
impl FromStr for WireProtocol
sourceimpl PartialEq<WireProtocol> for WireProtocol
impl PartialEq<WireProtocol> for WireProtocol
sourceimpl Serialize for WireProtocol
impl Serialize for WireProtocol
sourceimpl TryFrom<Interface> for WireProtocol
impl TryFrom<Interface> for WireProtocol
impl Copy 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
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