[][src]Enum unic_langid::LanguageIdentifierError

pub enum LanguageIdentifierError {
    Unknown,
    ParserError(ParserError),
}

Enum with errors that can be returned by LanguageIdentifier.

Variants

Unknown

An unknown error - currently covers all-but parser errors.

ParserError(ParserError)

A parser error.

Trait Implementations

impl Error for LanguageIdentifierError[src]

impl Debug for LanguageIdentifierError[src]

impl Display for LanguageIdentifierError[src]

impl From<ParserError> for LanguageIdentifierError[src]

impl PartialEq<LanguageIdentifierError> for LanguageIdentifierError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]