Enum mpdpopm::clients::Error [−][src]
pub enum Error {
Show 22 variants
Other {
cause: Box<dyn Error>,
back: Backtrace,
},
Add {
text: String,
back: Backtrace,
},
Connect {
text: String,
back: Backtrace,
},
Find {
text: String,
back: Backtrace,
},
GetAllSongs {
text: String,
back: Backtrace,
},
GetMessages {
text: String,
back: Backtrace,
},
GetStickers {
text: String,
back: Backtrace,
},
StickerSet {
text: String,
back: Backtrace,
},
StickerGet {
text: String,
back: Backtrace,
},
SendMessage {
text: String,
back: Backtrace,
},
Subscribe {
text: String,
back: Backtrace,
},
Idle {
text: String,
back: Backtrace,
},
IdleSubsystem {
text: String,
back: Backtrace,
},
PlayState {
text: String,
back: Backtrace,
},
SongId {
text: String,
back: Backtrace,
},
Elapsed {
text: String,
back: Backtrace,
},
SongFile {
text: String,
back: Backtrace,
},
Duration {
text: String,
back: Backtrace,
},
UnknownState {
state: String,
back: Backtrace,
},
UpdateDB {
text: String,
back: Backtrace,
},
GetStoredPlaylists {
text: String,
back: Backtrace,
},
BadStickerConversion {
sticker: String,
error: String,
back: Backtrace,
},
}
Expand description
An enumeration of `mpd’ client errors
Variants
Error adding a URI
Error upon connecting to the mpd server; includes the text returned (if any)
Error in response to find1 or find2
Error in response to get_all_songs
Error in respone to “readmessages”
Error in response to “sticker find”
Error in respone to “sticker set”
Error in respone to “sticker get”
Error in respone to “sendmessage”
Error in respone to “subscribe”
Error in respone to “idle”
Unknown idle subsystem
Couldn’t parse PlayState
Couldn’t parse SongId
Couldn’t parse Elapsed
Couldn’t parse song file
Couldn’t parse Duration
Unknown player state
Error in respone to “update”
Error in respone to “listplaylists”
Error in converting a sticker to the desired type
Trait Implementations
use the Display impl or to_string()
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.