Enum mpd::status::State
[−]
[src]
pub enum State {
Stop,
Play,
Pause,
}Playback state
Variants
Stopplayer stopped
Playplayer is playing
Pauseplayer paused
Trait Implementations
impl Debug for State[src]
impl Copy for State[src]
impl Clone for State[src]
fn clone(&self) -> State
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 PartialEq for State[src]
fn eq(&self, __arg_0: &State) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Encodable for State[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder.
impl Decodable for State[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<State, __D::Error>
Deserialize a value using a Decoder.
impl Default for State[src]
impl FromStr for State[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<State, ParseError>
Parses a string s to return a value of this type. Read more