pub enum DeviceConnectionType {
USB,
Unknown(String),
}Expand description
How device is connected
Variants§
Trait Implementations§
Source§impl Debug for DeviceConnectionType
impl Debug for DeviceConnectionType
Source§impl PartialEq for DeviceConnectionType
impl PartialEq for DeviceConnectionType
Source§impl TryFrom<&Value> for DeviceConnectionType
impl TryFrom<&Value> for DeviceConnectionType
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
impl StructuralPartialEq for DeviceConnectionType
Auto Trait Implementations§
impl Freeze for DeviceConnectionType
impl RefUnwindSafe for DeviceConnectionType
impl Send for DeviceConnectionType
impl Sync for DeviceConnectionType
impl Unpin for DeviceConnectionType
impl UnwindSafe for DeviceConnectionType
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