Struct num_enum::TryFromPrimitiveError[][src]

pub struct TryFromPrimitiveError<Enum: TryFromPrimitive> {
    pub number: Enum::Primitive,
}

Fields

number: Enum::Primitive

Trait Implementations

impl<Enum: TryFromPrimitive> Clone for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> Copy for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> Debug for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> Display for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> Eq for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> Error for TryFromPrimitiveError<Enum>[src]

impl<Enum: TryFromPrimitive> PartialEq<TryFromPrimitiveError<Enum>> for TryFromPrimitiveError<Enum>[src]

Auto Trait Implementations

impl<Enum> RefUnwindSafe for TryFromPrimitiveError<Enum> where
    <Enum as TryFromPrimitive>::Primitive: RefUnwindSafe

impl<Enum> Send for TryFromPrimitiveError<Enum> where
    <Enum as TryFromPrimitive>::Primitive: Send

impl<Enum> Sync for TryFromPrimitiveError<Enum> where
    <Enum as TryFromPrimitive>::Primitive: Sync

impl<Enum> Unpin for TryFromPrimitiveError<Enum> where
    <Enum as TryFromPrimitive>::Primitive: Unpin

impl<Enum> UnwindSafe for TryFromPrimitiveError<Enum> where
    <Enum as TryFromPrimitive>::Primitive: UnwindSafe

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