#[repr(u8)]pub enum DeviceCategory {
Show 17 variants
OOD = 0,
Server = 1,
PC = 2,
Router = 3,
AndroidMobile = 4,
AndroidPad = 5,
AndroidWatch = 6,
AndroidTV = 7,
IOSMobile = 8,
IOSPad = 9,
IOSWatch = 10,
SmartSpeakers = 11,
Browser = 12,
IoT = 13,
SmartHome = 14,
VirtualOOD = 15,
Unknown = 255,
}
Variants§
OOD = 0
Server = 1
PC = 2
Router = 3
AndroidMobile = 4
AndroidPad = 5
AndroidWatch = 6
AndroidTV = 7
IOSMobile = 8
IOSPad = 9
IOSWatch = 10
SmartSpeakers = 11
Browser = 12
IoT = 13
SmartHome = 14
VirtualOOD = 15
Unknown = 255
Trait Implementations§
Source§impl Clone for DeviceCategory
impl Clone for DeviceCategory
Source§fn clone(&self) -> DeviceCategory
fn clone(&self) -> DeviceCategory
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 DeviceCategory
impl Debug for DeviceCategory
Source§impl Display for DeviceCategory
impl Display for DeviceCategory
Source§impl PartialEq for DeviceCategory
impl PartialEq for DeviceCategory
Source§impl TryFrom<u8> for DeviceCategory
impl TryFrom<u8> for DeviceCategory
impl Copy for DeviceCategory
impl Eq for DeviceCategory
impl StructuralPartialEq for DeviceCategory
Auto Trait Implementations§
impl Freeze for DeviceCategory
impl RefUnwindSafe for DeviceCategory
impl Send for DeviceCategory
impl Sync for DeviceCategory
impl Unpin for DeviceCategory
impl UnwindSafe for DeviceCategory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more