Enum hiirc::ParseError
[−]
[src]
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 Ord for ParseError
[src]
fn cmp(&self, __arg_0: &ParseError) -> Ordering
[src]
impl Copy for ParseError
[src]
impl Clone for ParseError
[src]
fn clone(&self) -> ParseError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for ParseError
[src]
impl PartialEq<ParseError> for ParseError
[src]
fn eq(&self, __arg_0: &ParseError) -> bool
[src]
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[src]
This method tests for !=
.
impl Debug for ParseError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.