Struct stm32cubeprog_rs::STLink
source · pub struct STLink { /* private fields */ }
Implementations§
source§impl STLink
impl STLink
pub fn serial_number(&self) -> Result<String, Error>
pub fn firmware_version(&self) -> Result<String, Error>
pub fn board(&self) -> Result<String, Error>
pub fn reset_mode(&mut self, reset_mode: DebugResetMode)
pub fn connection_mode(&mut self, connection_mode: DebugConnectMode)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for STLink
impl RefUnwindSafe for STLink
impl Send for STLink
impl Sync for STLink
impl Unpin for STLink
impl UnwindSafe for STLink
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