Enum mpd_protocol::command::CommandError [−][src]
Expand description
Error returned when attempting to construct an invalid command.
Variants
Empty
The command was empty (either an empty command or an empty list commands).
InvalidCharacter(usize, char)
The command string contained an invalid character at the contained position. This is context-dependent, as some characters are only invalid in certain sections of a command.
UnncessaryWhitespace
The element contained trailing or leading whitespace (whitespace in the middle of commands is used to separate arguments).
CommandList
Attempted to start or close a command list manually.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl UnwindSafe for CommandError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more