Enum encode_unicode::error::FromStrError [] [src]

pub enum FromStrError {
    SeveralCodePoints,
    Empty,
}

Reason why Utf8Char::from_str() failed.

Variants

SeveralCodePoints

Utf8Char cannot store more than a single codepoint.

Empty

Utf8Char cannot be empty.

Trait Implementations

impl Eq 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 Debug for FromStrError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for FromStrError
[src]

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

impl Display for FromStrError
[src]

fn fmt(&self, fmtr: &mut Formatter) -> Result

Formats the value using the given formatter.