Enum mpris_server::PlaylistsSignal
source · pub enum PlaylistsSignal {
PlaylistChanged {
playlist: Playlist,
},
}
Expand description
Used for emitting signals on Server::playlists_emit
and
LocalServer::playlists_emit
, if T
implements
PlaylistsInterface
or LocalPlaylistsInterface
.
Variants§
PlaylistChanged
Indicates that either the Name or Icon attribute of a playlist has changed.
Client implementations should be aware that this signal may not be implemented.
Rationale
Without this signal, media players have no way to notify clients of a change in the attributes of a playlist other than the active one.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlaylistsSignal
impl RefUnwindSafe for PlaylistsSignal
impl Send for PlaylistsSignal
impl Sync for PlaylistsSignal
impl Unpin for PlaylistsSignal
impl UnwindSafe for PlaylistsSignal
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