pub enum Service {
AVTransport,
RenderingControl,
GroupRenderingControl,
ZoneGroupTopology,
GroupManagement,
}Expand description
Represents the different UPnP services exposed by Sonos devices
Each service provides a specific set of operations for controlling different aspects of the Sonos device functionality.
Variants§
AVTransport
AVTransport service - Controls playback (play, pause, stop, seek, etc.)
RenderingControl
RenderingControl service - Controls audio rendering (volume, mute, etc.)
GroupRenderingControl
GroupRenderingControl service - Controls group-wide audio settings
ZoneGroupTopology
ZoneGroupTopology service - Manages speaker grouping and topology
GroupManagement
GroupManagement service - Manages speaker group membership operations
Implementations§
Source§impl Service
impl Service
Sourcepub fn info(&self) -> ServiceInfo
pub fn info(&self) -> ServiceInfo
Get the service information (endpoint and URI) for this service
§Returns
A ServiceInfo struct containing the endpoint path, service URI, and event endpoint
Sourcepub fn scope(&self) -> ServiceScope
pub fn scope(&self) -> ServiceScope
Get the subscription scope for this service
§Returns
A ServiceScope indicating whether this service should have per-speaker,
per-network, or per-coordinator subscriptions
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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.