Enum mpd::reply::Reply [] [src]

pub enum Reply {
    Ok,
    Ack(ServerError),
    Pair(StringString),
}

All possible MPD server replies

Variants

Ok

OK and list_OK replies

Ack(ServerError)

ACK reply (server error)

Pair(StringString)

a data pair reply (in field: value format)

Trait Implementations

impl PartialEq for Reply
[src]

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

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

fn ne(&self, __arg_0: &Reply) -> bool

This method tests for !=.

impl Clone for Reply
[src]

fn clone(&self) -> Reply

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 Debug for Reply
[src]

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

Formats the value using the given formatter.

impl FromStr for Reply
[src]

type Err = ParseError

The associated error which can be returned from parsing.

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

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