[][src]Enum number2name::N2NErr

pub enum N2NErr {
    EmptyInput,
    TooLarge {
        charset: Charset,
    },
    InvalidCharacter {
        character: char,
        charset: Charset,
    },
}

Variants

EmptyInput
TooLarge

Fields of TooLarge

charset: Charset
InvalidCharacter

Fields of InvalidCharacter

character: charcharset: Charset

Implementations

impl N2NErr[src]

pub fn as_string(&self) -> String[src]

Trait Implementations

impl Clone for N2NErr[src]

impl Debug for N2NErr[src]

impl Into<String> for N2NErr[src]

Auto Trait Implementations

impl RefUnwindSafe for N2NErr

impl Send for N2NErr

impl Sync for N2NErr

impl Unpin for N2NErr

impl UnwindSafe for N2NErr

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.