Module pircolate::command [] [src]

The command module contains everything needed to perform strongly typed access to commands associated with a message.

Structs

ArgumentIter

An implementation of Iterator that iterates over the arguments of a Message.

Created

Represents a CREATED numeric. The first element is the unsername and the second element is the created message.

EndNamesReply
NamesReply
Ping

Represents a PING command. The first element is the host.

Pong

Represents a PONG command. The first element is the host.

PrivMsg

Represents a PRIVMSG command. The first element is the target of the message and the second eleement is the message.

ServerInfo

Represents a MYINFO numeric. The first element is the username and the second element is the server info message.

Welcome

Represents a WELCOME numeric. The first element is the unsername and the second element is the welcome message.

YourHost

Represents a YOURHOST numeric. The first element is the unsername and the second element is the yourhost message.

Enums

NamesReplyChannelType

Traits

Command

The Command trait is a trait that's implemented by types wishing to provide command parsing capability for usage with the Message::command method.