Enum read_token::ParseStringError [] [src]

pub enum ParseStringError {
    ExpectedFourHexadecimals,
    ExpectedHexadecimal,
    ExpectedValidUnicode,
    ExpectedValidEscapeCharacter,
}

Contains errors when parsing a string.

Variants

ExpectedFourHexadecimals

Expected four hexadecimals, found less characters

ExpectedHexadecimal

Expected character 0-9a-fA-F

ExpectedValidUnicode

Found four hexadecimals, but not an invalid unicode character

ExpectedValidEscapeCharacter

A character escape \x is invalid

Trait Implementations

impl PartialEq for ParseStringError
[src]

fn eq(&self, __arg_0: &ParseStringError) -> 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 Eq for ParseStringError
[src]

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]

impl Display for ParseStringError
[src]

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

Formats the value using the given formatter.