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