Struct TryFromIntError

struct TryFromIntError(_)

The error type returned when a checked integral type conversion fails.

Implementations

impl Clone for TryFromIntError

fn clone(self: &Self) -> TryFromIntError

impl Copy for TryFromIntError

impl Debug for TryFromIntError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for TryFromIntError

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for TryFromIntError

impl Error for TryFromIntError

impl Freeze for TryFromIntError

impl From for TryFromIntError

fn from(x: Infallible) -> TryFromIntError

impl From for TryFromIntError

fn from(never: never) -> TryFromIntError

impl PartialEq for TryFromIntError

fn eq(self: &Self, other: &TryFromIntError) -> bool

impl RefUnwindSafe for TryFromIntError

impl Send for TryFromIntError

impl StructuralPartialEq for TryFromIntError

impl Sync for TryFromIntError

impl Unpin for TryFromIntError

impl UnsafeUnpin for TryFromIntError

impl UnwindSafe for TryFromIntError

impl<T> Any for TryFromIntError

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TryFromIntError

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TryFromIntError

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for TryFromIntError

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for TryFromIntError

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> From for TryFromIntError

fn from(t: never) -> T

impl<T, U> Into for TryFromIntError

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for TryFromIntError

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TryFromIntError

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>