Enum mpd::idle::Subsystem [] [src]

pub enum Subsystem {
    Database,
    Update,
    Playlist,
    Queue,
    Player,
    Mixer,
    Output,
    Options,
    Sticker,
    Subscription,
    Message,
}

Subsystems for idle command

Variants

Database

database: the song database has been modified after update.

Update

update: a database update has started or finished. If the database was modified during the update, the database event is also emitted.

Playlist

stored_playlist: a stored playlist has been modified, renamed, created or deleted

Queue

playlist: the current playlist has been modified

Player

player: the player has been started, stopped or seeked

Mixer

mixer: the volume has been changed

Output

output: an audio output has been enabled or disabled

Options

options: options like repeat, random, crossfade, replay gain

Sticker

sticker: the sticker database has been modified.

Subscription

subscription: a client has subscribed or unsubscribed to a channel

Message

message: a message was received on a channel this client is subscribed to; this event is only emitted when the queue is empty

Trait Implementations

impl Encodable for Subsystem
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl PartialEq for Subsystem
[src]

fn eq(&self, __arg_0: &Subsystem) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for Subsystem
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for Subsystem
[src]

impl Clone for Subsystem
[src]

fn clone(&self) -> Subsystem

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl FromStr for Subsystem
[src]

type Err = ParseError

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<SubsystemParseError>

Parses a string s to return a value of this type. Read more

impl Display for Subsystem
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.