Enum pomsky_syntax::error::CodePointError
source · #[non_exhaustive]
pub enum CodePointError {
Invalid,
}Expand description
An error that relates to a Unicode code point
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Invalid
Code point that is outside the allowed range, e.g. U+200000
Trait Implementations§
source§impl Clone for CodePointError
impl Clone for CodePointError
source§fn clone(&self) -> CodePointError
fn clone(&self) -> CodePointError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CodePointError
impl Debug for CodePointError
source§impl Display for CodePointError
impl Display for CodePointError
source§impl Error for CodePointError
impl Error for CodePointError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()