Enum mpd::error::Error [] [src]

pub enum Error {
    Io(IoError),
    Parse(ParseError),
    Proto(ProtoError),
    Server(ServerError),
}

Main error type, describing all possible error classes for the crate

Variants

IO errors (low-level network communication failures)

parsing errors (unknown data came from server)

protocol errors (e.g. missing required fields in server response, no handshake message etc.)

server errors (a.k.a. ACK responses from server)

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

The lower-level cause of this error, if any. Read more

A short description of the error. Read more

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

Performs the conversion.

impl From<ParseError> for Error
[src]

Performs the conversion.

impl From<ProtoError> for Error
[src]

Performs the conversion.

impl From<ParseIntError> for Error
[src]

Performs the conversion.

impl From<ParseFloatError> for Error
[src]

Performs the conversion.

impl From<TimeParseError> for Error
[src]

Performs the conversion.

impl From<ServerError> for Error
[src]

Performs the conversion.