Enum encode_unicode::error::FromStrError
[−]
[src]
pub enum FromStrError { MultipleCodepoints, Empty, }
Reasons why Utf8Char::from_str()
failed.
Variants
MultipleCodepoints
Utf8Char
cannot store more than a single codepoint.
Empty
Utf8Char
cannot be empty.
Trait Implementations
impl Clone for FromStrError
[src]
fn clone(&self) -> FromStrError
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 FromStrError
[src]
impl Debug for FromStrError
[src]
impl PartialEq for FromStrError
[src]
fn eq(&self, __arg_0: &FromStrError) -> 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 FromStrError
[src]
impl Error for FromStrError
[src]
fn description(&self) -> &'static str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more