Struct concordium_std::num::TryFromIntError 1.34.0[−][src]
pub struct TryFromIntError(_);
Expand description
The error type returned when a checked integral type conversion fails.
Trait Implementations
impl Clone for TryFromIntError
[src]
impl Clone for TryFromIntError
[src]pub fn clone(&self) -> TryFromIntError
[src]
pub fn clone(&self) -> TryFromIntError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for TryFromIntError
[src]
impl Debug for TryFromIntError
[src]impl Display for TryFromIntError
[src]
impl Display for TryFromIntError
[src]impl Error for TryFromIntError
[src]
impl Error for TryFromIntError
[src]pub fn description(&self) -> &str
[src]
pub fn description(&self) -> &str
[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
impl From<!> for TryFromIntError
[src]
impl From<!> for TryFromIntError
[src]pub fn from(never: !) -> TryFromIntError
[src]
pub fn from(never: !) -> TryFromIntError
[src]Performs the conversion.
impl From<Infallible> for TryFromIntError
[src]
impl From<Infallible> for TryFromIntError
[src]pub fn from(x: Infallible) -> TryFromIntError
[src]
pub fn from(x: Infallible) -> TryFromIntError
[src]Performs the conversion.
impl From<TryFromIntError> for ContractStateError
[src]
impl From<TryFromIntError> for ContractStateError
[src]fn from(_: TryFromIntError) -> Self
[src]
fn from(_: TryFromIntError) -> Self
[src]Performs the conversion.
impl PartialEq<TryFromIntError> for TryFromIntError
[src]
impl PartialEq<TryFromIntError> for TryFromIntError
[src]pub fn eq(&self, other: &TryFromIntError) -> bool
[src]
pub fn eq(&self, other: &TryFromIntError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &TryFromIntError) -> bool
[src]
pub fn ne(&self, other: &TryFromIntError) -> bool
[src]This method tests for !=
.
impl Copy for TryFromIntError
[src]
impl Eq for TryFromIntError
[src]
impl StructuralEq for TryFromIntError
[src]
impl StructuralPartialEq for TryFromIntError
[src]
Auto 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,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more