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]
impl Clone for FromStrError
fn clone(&self) -> FromStrError
[src]
fn clone(&self) -> FromStrError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for FromStrError
[src]
impl Copy for FromStrError
impl Debug for FromStrError
[src]
impl Debug for FromStrError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for FromStrError
[src]
impl PartialEq for FromStrError
fn eq(&self, other: &FromStrError) -> bool
[src]
fn eq(&self, other: &FromStrError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for FromStrError
[src]
impl Eq for FromStrError
impl Error for FromStrError
[src]
impl Error for FromStrError
fn description(&self) -> &'static str
[src]
fn description(&self) -> &'static str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for FromStrError
[src]
impl Display for FromStrError
Auto Trait Implementations
impl Send for FromStrError
impl Send for FromStrError
impl Sync for FromStrError
impl Sync for FromStrError