pub enum ServiceScope {
PerSpeaker,
PerNetwork,
PerCoordinator,
}Expand description
Defines the subscription scope for UPnP services
Variants§
PerSpeaker
Per-speaker service - allows independent subscriptions on each speaker
PerNetwork
Per-network service - only one subscription should exist across entire network
PerCoordinator
Per-coordinator service - only run on speakers that are the coordinator for a group
Trait Implementations§
Source§impl Clone for ServiceScope
impl Clone for ServiceScope
Source§fn clone(&self) -> ServiceScope
fn clone(&self) -> ServiceScope
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 ServiceScope
impl Debug for ServiceScope
Source§impl Hash for ServiceScope
impl Hash for ServiceScope
Source§impl PartialEq for ServiceScope
impl PartialEq for ServiceScope
impl Copy for ServiceScope
impl Eq for ServiceScope
impl StructuralPartialEq for ServiceScope
Auto Trait Implementations§
impl Freeze for ServiceScope
impl RefUnwindSafe for ServiceScope
impl Send for ServiceScope
impl Sync for ServiceScope
impl Unpin for ServiceScope
impl UnsafeUnpin for ServiceScope
impl UnwindSafe for ServiceScope
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