Enum mpd::status::State [] [src]

pub enum State {
    Stop,
    Play,
    Pause,
}

Playback state

Variants

player stopped

player is playing

player paused

Trait Implementations

impl Debug for State
[src]

Formats the value using the given formatter.

impl Copy for State
[src]

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for State
[src]

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

This method tests for !=.

impl Encodable for State
[src]

Serialize a value using an Encoder.

impl Decodable for State
[src]

Deserialize a value using a Decoder.

impl Default for State
[src]

Returns the "default value" for a type. Read more

impl FromStr for State
[src]

The associated error which can be returned from parsing.

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