Enum hiirc::ParseError []

pub enum ParseError {
    EmptyCommand,
    EmptyMessage,
    UnexpectedEnd,
}

Error generated by the parser.

Variants

EmptyCommand

String was empty.

EmptyMessage

Message did not have a code.

UnexpectedEnd

Unexpected end of the string.

Trait Implementations

impl PartialOrd<ParseError> for ParseError

fn partial_cmp(&self, __arg_0: &ParseError) -> Option<Ordering>

impl PartialEq<ParseError> for ParseError

fn eq(&self, __arg_0: &ParseError) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Ord for ParseError

fn cmp(&self, __arg_0: &ParseError) -> Ordering

impl Eq for ParseError

impl Debug for ParseError

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Copy for ParseError

impl Clone for ParseError

fn clone(&self) -> ParseError

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more