Enum read_token::ParseStringError [] [src]

pub enum ParseStringError {
    ExpectedFourHexadecimals(Range),
    ExpectedHexadecimal(Range),
    ExpectedValidUnicode(Range),
    ExpectedValidEscapeCharacter(Range),
}

Contains errors when parsing a string.

Variants

ExpectedFourHexadecimals(Range)

Expected four hexadecimals, found less characters

ExpectedHexadecimal(Range)

Expected character 0-9a-fA-F

ExpectedValidUnicode(Range)

Found four hexadecimals, but not an invalid unicode character

ExpectedValidEscapeCharacter(Range)

A character escape \x is invalid

Trait Implementations

impl Debug for ParseStringError
[src]

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

Formats the value using the given formatter.

impl Clone for ParseStringError
[src]

fn clone(&self) -> ParseStringError

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

impl Copy for ParseStringError
[src]