Enum irc::error::MessageParseError [−][src]
pub enum MessageParseError { EmptyMessage, InvalidCommand, InvalidModeString { string: String, cause: ModeParseError, }, InvalidSubcommand { cmd: &'static str, sub: String, }, }
Errors that occur when parsing messages.
Variants
EmptyMessage
The message was empty.
InvalidCommand
The command was invalid (i.e. missing).
InvalidModeString
The mode string was malformed.
Fields of InvalidModeString
string: String | The invalid mode string. |
cause: ModeParseError | The detailed mode parsing error. |
InvalidSubcommand
The subcommand used was invalid.
Fields of InvalidSubcommand
cmd: &'static str | The command whose invalid subcommand was referenced. |
sub: String | The invalid subcommand. |
Trait Implementations
impl Debug for MessageParseError
[src]
impl Debug for MessageParseError
Auto Trait Implementations
impl Send for MessageParseError
impl Send for MessageParseError
impl Sync for MessageParseError
impl Sync for MessageParseError