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
ContainsSpace
The argument contains spaces
ContainsTab
The argument contains tabs
Trait Implementations
impl From<ArgumentValidationError> for CommandError
[src]
impl From<ArgumentValidationError> for CommandError
fn from(s: ArgumentValidationError) -> Self
[src]
fn from(s: ArgumentValidationError) -> Self
Performs the conversion.
impl Debug for ArgumentValidationError
[src]
impl Debug for ArgumentValidationError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ArgumentValidationError
[src]
impl Clone for ArgumentValidationError
fn clone(&self) -> ArgumentValidationError
[src]
fn clone(&self) -> ArgumentValidationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for ArgumentValidationError
[src]
impl Eq for ArgumentValidationError
impl PartialEq for ArgumentValidationError
[src]
impl PartialEq for ArgumentValidationError
Auto Trait Implementations
impl Send for ArgumentValidationError
impl Send for ArgumentValidationError
impl Sync for ArgumentValidationError
impl Sync for ArgumentValidationError