pub enum ProductType {
IPhone,
IPodTouch,
IPad,
Unknown(u16),
}Expand description
Product type of connected device, which typically is an iPad, iPhone, or iPod touch
Variants§
IPhone
Any iPhone that’s connected
IPodTouch
iPod touch
IPad
iPad/iPad Pro
Unknown(u16)
Unexpected product id we haven’t coded for yet
Trait Implementations§
Source§impl Clone for ProductType
impl Clone for ProductType
Source§fn clone(&self) -> ProductType
fn clone(&self) -> ProductType
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 ProductType
impl Debug for ProductType
Source§impl From<u16> for ProductType
impl From<u16> for ProductType
Source§impl PartialEq for ProductType
impl PartialEq for ProductType
impl Copy for ProductType
impl StructuralPartialEq for ProductType
Auto Trait Implementations§
impl Freeze for ProductType
impl RefUnwindSafe for ProductType
impl Send for ProductType
impl Sync for ProductType
impl Unpin for ProductType
impl UnwindSafe for ProductType
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