Enum mpd::error::ErrorCode [] [src]

pub enum ErrorCode {
    NotList,
    Argument,
    Password,
    Permission,
    UnknownCmd,
    NoExist,
    PlaylistMax,
    System,
    PlaylistLoad,
    UpdateAlready,
    PlayerSync,
    Exist,
}

Server error codes, as defined in libmpdclient

Variants

not a list

bad command arguments

invalid password

insufficient permissions

unknown command

object doesn't exist

maximum playlist size exceeded

general system error

error loading playlist

update database is already in progress

player synchronization error

object already exists

Trait Implementations

impl Debug for ErrorCode
[src]

Formats the value using the given formatter.

impl Clone for ErrorCode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ErrorCode
[src]

impl PartialEq for ErrorCode
[src]

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

This method tests for !=.

impl PartialOrd for ErrorCode
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl FromStr for ErrorCode
[src]

The associated error which can be returned from parsing.

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

impl StdError for ErrorCode
[src]

A short description of the error. Read more

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

impl Display for ErrorCode
[src]

Formats the value using the given formatter.