Enum mpd::reply::Reply
[−]
[src]
pub enum Reply { Ok, Ack(ServerError), Pair(String, String), }
All possible MPD server replies
Variants
Ok
OK
and list_OK
replies
Ack(ServerError)
ACK
reply (server error)
Pair(String, String)
a data pair reply (in field: value
format)
Trait Implementations
impl Debug for Reply
[src]
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 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 FromStr for Reply
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Reply, ParseError>
Parses a string s
to return a value of this type. Read more