pub enum EventData {
AVTransport(AVTransportState),
RenderingControl(RenderingControlState),
DeviceProperties(DevicePropertiesEvent),
ZoneGroupTopology(ZoneGroupTopologyState),
GroupManagement(GroupManagementState),
GroupRenderingControl(GroupRenderingControlState),
}Expand description
Event data - complete event information for each service.
Variants reference canonical State types from sonos-api.
Both UPnP events (via into_state()) and polling (via poll())
produce the same State types, ensuring parity.
Variants§
AVTransport(AVTransportState)
AVTransport service state
RenderingControl(RenderingControlState)
RenderingControl service state
DeviceProperties(DevicePropertiesEvent)
DeviceProperties service event (no sonos-api State type yet)
ZoneGroupTopology(ZoneGroupTopologyState)
ZoneGroupTopology service state
GroupManagement(GroupManagementState)
GroupManagement service state
GroupRenderingControl(GroupRenderingControlState)
GroupRenderingControl service state
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EventData
impl RefUnwindSafe for EventData
impl Send for EventData
impl Sync for EventData
impl Unpin for EventData
impl UnsafeUnpin for EventData
impl UnwindSafe for EventData
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