#[repr(u8)]pub enum Service {
UDP = 1,
Reserved1 = 2,
Reserved2 = 3,
Reserved3 = 4,
Reserved4 = 5,
}
Expand description
What services are exposed by the device.
LIFX only documents the UDP service, though bulbs may support other undocumented services. Since these other services are unsupported by the lifx-core library, a message with a non-UDP service cannot be constructed.
Variants§
Trait Implementations§
impl Copy for Service
impl Eq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
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