pub enum EnumeratorEvent {
Add(OwnedBusName),
Remove(OwnedBusName),
}Expand description
Returned from Enumerator::receive_changes when an MPRIS player was added or removed.
Variants§
Add(OwnedBusName)
MPRIS player with the given bus name was added.
Remove(OwnedBusName)
MPRIS player with the given bus name was removed.
Trait Implementations§
Source§impl Clone for EnumeratorEvent
impl Clone for EnumeratorEvent
Source§fn clone(&self) -> EnumeratorEvent
fn clone(&self) -> EnumeratorEvent
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 moreAuto Trait Implementations§
impl Freeze for EnumeratorEvent
impl RefUnwindSafe for EnumeratorEvent
impl Send for EnumeratorEvent
impl Sync for EnumeratorEvent
impl Unpin for EnumeratorEvent
impl UnsafeUnpin for EnumeratorEvent
impl UnwindSafe for EnumeratorEvent
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