[−][src]Struct int_enum::IntEnumError
An error when attempting to convert an integer into an enum.
Methods
impl<T: IntEnum> IntEnumError<T>
[src]
Trait Implementations
impl<T: Clone + IntEnum> Clone for IntEnumError<T> where
T::Int: Clone,
[src]
T::Int: Clone,
fn clone(&self) -> IntEnumError<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Copy + IntEnum> Copy for IntEnumError<T> where
T::Int: Copy,
[src]
T::Int: Copy,
impl<T: IntEnum> Debug for IntEnumError<T>
[src]
impl<T: IntEnum> Display for IntEnumError<T>
[src]
impl<T: Eq + IntEnum> Eq for IntEnumError<T> where
T::Int: Eq,
[src]
T::Int: Eq,
impl<T: IntEnum> Error for IntEnumError<T>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<T: PartialEq + IntEnum> PartialEq<IntEnumError<T>> for IntEnumError<T> where
T::Int: PartialEq,
[src]
T::Int: PartialEq,
fn eq(&self, other: &IntEnumError<T>) -> bool
[src]
fn ne(&self, other: &IntEnumError<T>) -> bool
[src]
impl<T: IntEnum> StructuralEq for IntEnumError<T>
[src]
impl<T: IntEnum> StructuralPartialEq for IntEnumError<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for IntEnumError<T> where
T: RefUnwindSafe,
<T as IntEnum>::Int: RefUnwindSafe,
T: RefUnwindSafe,
<T as IntEnum>::Int: RefUnwindSafe,
impl<T> Send for IntEnumError<T> where
T: Send,
<T as IntEnum>::Int: Send,
T: Send,
<T as IntEnum>::Int: Send,
impl<T> Sync for IntEnumError<T> where
T: Sync,
<T as IntEnum>::Int: Sync,
T: Sync,
<T as IntEnum>::Int: Sync,
impl<T> Unpin for IntEnumError<T> where
T: Unpin,
<T as IntEnum>::Int: Unpin,
T: Unpin,
<T as IntEnum>::Int: Unpin,
impl<T> UnwindSafe for IntEnumError<T> where
T: UnwindSafe,
<T as IntEnum>::Int: UnwindSafe,
T: UnwindSafe,
<T as IntEnum>::Int: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,