Enum cssparser::BasicParseError [] [src]

pub enum BasicParseError<'a> {
    UnexpectedToken(Token<'a>),
    EndOfInput,
    AtRuleInvalid(CowRcStr<'a>),
    AtRuleBodyInvalid,
    QualifiedRuleInvalid,
}

The funamental parsing errors that can be triggered by built-in parsing routines.

Variants

An unexpected token was encountered.

The end of the input was encountered unexpectedly.

An @ rule was encountered that was invalid.

The body of an '@' rule was invalid.

A qualified rule was encountered that was invalid.

Trait Implementations

impl<'a> Clone for BasicParseError<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for BasicParseError<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for BasicParseError<'a>
[src]

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

This method tests for !=.