Struct mpd::error::ServerError [] [src]

pub struct ServerError {
    pub code: ErrorCode,
    pub pos: u16,
    pub command: String,
    pub detail: String,
}

Server error

Fields

server error code

command position in command list

command name, which caused the error

detailed error description

Trait Implementations

impl Debug for ServerError
[src]

Formats the value using the given formatter.

impl Clone for ServerError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ServerError
[src]

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

This method tests for !=.

impl Display for ServerError
[src]

Formats the value using the given formatter.

impl StdError for ServerError
[src]

A short description of the error. Read more

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

impl FromStr for ServerError
[src]

The associated error which can be returned from parsing.

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