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]
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