[][src]Module ellidri::modes

Mode parsing and validation

Enums

ChannelModeChange

Item of a channel mode query.

Error

*_query related errors.

UserModeChange

Item of a user mode query.

Constants

CHANMODES

CHANMODES feature advertised in RPL_ISUPPORT.

EXTENDED_CHAN_MODES

Channel modes that require a parameter and are supported by ellidri. Advertised in welcome messages.

SIMPLE_CHAN_MODES

Channel modes that have no parameters and are supported by ellidri. Advertised in welcome messages.

USER_MODES

User modes supported by ellidri. Advertised in welcome messages.

Functions

channel_query

An iterator over the changes of a MODE query.

is_channel_mode_string

Whether the given string is a valid channel MODE query.

needs_chanop

Whether the channel MODE query needs chanop priviledges.

simple_channel_query

Same as channel_query, but with no mode parameters.

user_query

An iterator over the changes of a MODE query.

Type Definitions

Result

Alias to std's Result using this module's Error.