pub enum Model {
NanoS,
NanoSPlus,
NanoX,
Stax,
Flex,
NanoGen5,
Unknown {
usb_pid: Option<u16>,
},
}Expand description
Ledger device models
Variants§
NanoS
Nano S
NanoSPlus
Nano S Plus
NanoX
Nano X
Stax
Stax
Flex
Flex
NanoGen5
Nano Gen5
Unknown
Unknown model
Implementations§
Trait Implementations§
impl Copy for Model
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Freeze for Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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