Enum async_mpd::Error [−][src]
pub enum Error {
CommandError {
msg: String,
},
Disconnected,
IOError(Error),
ServerError {
msg: String,
},
ValueError {
msg: String,
},
ParseInteError(ParseIntError),
}
Expand description
Error
Variants
Server failed to parse the command
Fields of CommandError
msg: String
The server closed the connection
Represents all other cases of std::io::Error
.
Tuple Fields of IOError
0: Error
TODO
Fields of ServerError
msg: String
Generic unexpected response error
Fields of ValueError
msg: String
Conversion error
Tuple Fields of ParseInteError
Trait Implementations
Performs the conversion.