Struct std::num::TryFromIntError
1.34.0 · source · [−]pub struct TryFromIntError(_);Expand description
The error type returned when a checked integral type conversion fails.
Trait Implementations
impl Clone for TryFromIntError
source
impl Clone for TryFromIntError
sourcefn clone(&self) -> TryFromIntError
source
fn clone(&self) -> TryFromIntError
sourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0 · source
fn clone_from(&mut self, source: &Self)
1.0.0 · sourcePerforms copy-assignment from source. Read more
impl Debug for TryFromIntError
source
impl Debug for TryFromIntError
sourceimpl Display for TryFromIntError
source
impl Display for TryFromIntError
sourceimpl Error for TryFromIntError
source
impl Error for TryFromIntError
sourcefn description(&self) -> &str
source
fn description(&self) -> &str
source👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · source
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0 · sourceThe lower-level source of this error, if any. Read more
impl From<!> for TryFromIntError
source
impl From<!> for TryFromIntError
sourceconst fn from(never: !) -> TryFromIntError
source
const fn from(never: !) -> TryFromIntError
sourceConverts to this type from the input type.
impl From<Infallible> for TryFromIntError
const: unstable · source
impl From<Infallible> for TryFromIntError
const: unstable · sourcefn from(x: Infallible) -> TryFromIntError
const: unstable · source
fn from(x: Infallible) -> TryFromIntError
const: unstable · sourceConverts to this type from the input type.
impl PartialEq<TryFromIntError> for TryFromIntError
source
impl PartialEq<TryFromIntError> for TryFromIntError
sourcefn eq(&self, other: &TryFromIntError) -> bool
source
fn eq(&self, other: &TryFromIntError) -> bool
sourceThis method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &TryFromIntError) -> bool
source
fn ne(&self, other: &TryFromIntError) -> bool
sourceThis method tests for !=.
impl Copy for TryFromIntError
sourceimpl Eq for TryFromIntError
sourceimpl StructuralEq for TryFromIntError
sourceimpl StructuralPartialEq for TryFromIntError
sourceAuto Trait Implementations
impl RefUnwindSafe for TryFromIntError
impl Send for TryFromIntError
impl Sync for TryFromIntError
impl Unpin for TryFromIntError
impl UnwindSafe for TryFromIntError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
source
impl<T> BorrowMut<T> for T where
T: ?Sized,
sourcefn borrow_mut(&mut self) -> &mut T
const: unstable · source
fn borrow_mut(&mut self) -> &mut T
const: unstable · sourceMutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
source
impl<T> ToOwned for T where
T: Clone,
sourcetype Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
source
fn clone_into(&self, target: &mut T)
sourceUses borrowed data to replace owned data, usually by cloning. Read more