pub struct UsbSerialPorts(pub Vec<UsbSerialPortInfo>);Expand description
A list of available serial ports
Used for pretty error messages.
Tuple Fields§
§0: Vec<UsbSerialPortInfo>Trait Implementations§
Source§impl Clone for UsbSerialPorts
impl Clone for UsbSerialPorts
Source§fn clone(&self) -> UsbSerialPorts
fn clone(&self) -> UsbSerialPorts
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 UsbSerialPorts
impl Debug for UsbSerialPorts
Source§impl Display for UsbSerialPorts
impl Display for UsbSerialPorts
Source§impl PartialEq for UsbSerialPorts
impl PartialEq for UsbSerialPorts
Source§impl Serialize for UsbSerialPorts
impl Serialize for UsbSerialPorts
impl Eq for UsbSerialPorts
impl StructuralPartialEq for UsbSerialPorts
Auto Trait Implementations§
impl Freeze for UsbSerialPorts
impl RefUnwindSafe for UsbSerialPorts
impl Send for UsbSerialPorts
impl Sync for UsbSerialPorts
impl Unpin for UsbSerialPorts
impl UnwindSafe for UsbSerialPorts
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