Enum mpdpopm::commands::Error [−][src]
pub enum Error {
BadPath {
pth: PathBuf,
},
DuplicateTrackArgument {
index: usize,
},
MissingParameter {
index: usize,
},
NoCurrentTrack,
NoTrackToUpdate,
TrailingPercent {
template: String,
},
UnknownParameter {
param: String,
},
}
Variants
Fields of BadPath
pth: PathBuf
Fields of DuplicateTrackArgument
index: usize
Fields of MissingParameter
index: usize
Fields of TrailingPercent
template: String
Fields of UnknownParameter
param: String
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more