Enum near_gas::NearGasError
source · pub enum NearGasError {
IncorrectNumber(DecimalNumberParsingError),
IncorrectUnit(String),
}
Variants§
IncorrectNumber(DecimalNumberParsingError)
IncorrectUnit(String)
Trait Implementations§
source§impl Clone for NearGasError
impl Clone for NearGasError
source§fn clone(&self) -> NearGasError
fn clone(&self) -> NearGasError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NearGasError
impl Debug for NearGasError
source§impl Display for NearGasError
impl Display for NearGasError
source§impl Error for NearGasError
impl Error for NearGasError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for NearGasError
impl PartialEq for NearGasError
source§fn eq(&self, other: &NearGasError) -> bool
fn eq(&self, other: &NearGasError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for NearGasError
impl StructuralEq for NearGasError
impl StructuralPartialEq for NearGasError
Auto Trait Implementations§
impl RefUnwindSafe for NearGasError
impl Send for NearGasError
impl Sync for NearGasError
impl Unpin for NearGasError
impl UnwindSafe for NearGasError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more