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 Copy 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
impl Debug for ParseStringError
[src]
impl Eq for ParseStringError
[src]
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 !=
.