Enum nitox::ArgumentValidationError[][src]

pub enum ArgumentValidationError {
    ContainsSpace,
    ContainsTab,
}

This error is designed to be given when an argument like the subject or queue_group arguments are containing spaces or tabs, which is prohibited by the protocol and trigger an error server-side

Variants

The argument contains spaces

The argument contains tabs

Trait Implementations

impl From<ArgumentValidationError> for CommandError
[src]

Performs the conversion.

impl Debug for ArgumentValidationError
[src]

Formats the value using the given formatter. Read more

impl Clone for ArgumentValidationError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ArgumentValidationError
[src]

impl PartialEq for ArgumentValidationError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations