#[repr(u8)]pub enum ConnectPort {
Default = 0,
SWD = 1,
JTAG = 2,
}Variants§
Trait Implementations§
Source§impl Clone for ConnectPort
impl Clone for ConnectPort
Source§fn clone(&self) -> ConnectPort
fn clone(&self) -> ConnectPort
Returns a duplicate 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 TryFrom<u8> for ConnectPort
impl TryFrom<u8> for ConnectPort
Source§type Error = TryFromPrimitiveError<ConnectPort>
type Error = TryFromPrimitiveError<ConnectPort>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for ConnectPort
impl TryFromPrimitive for ConnectPort
impl Copy for ConnectPort
Auto Trait Implementations§
impl Freeze for ConnectPort
impl RefUnwindSafe for ConnectPort
impl Send for ConnectPort
impl Sync for ConnectPort
impl Unpin for ConnectPort
impl UnwindSafe for ConnectPort
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