Enum cssparser::ParseError [] [src]

pub enum ParseError<'a, T: 'a> {
    Basic(BasicParseError<'a>),
    Custom(T),
}

Extensible parse errors that can be encountered by client parsing implementations.

Variants

A fundamental parse error from a built-in parsing routine.

A parse error reported by downstream consumer code.

Methods

impl<'a, T> ParseError<'a, T>
[src]

[src]

Extract the fundamental parse error from an extensible error.

Trait Implementations

impl<'a, T> From<BasicParseError<'a>> for ParseError<'a, T>
[src]

[src]

Performs the conversion.

impl<'a, T: Clone + 'a> Clone for ParseError<'a, T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, T: Debug + 'a> Debug for ParseError<'a, T>
[src]

[src]

Formats the value using the given formatter.

impl<'a, T: PartialEq + 'a> PartialEq for ParseError<'a, T>
[src]

[src]

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

[src]

This method tests for !=.