pub enum ChargeError {
GasLimitExceeded,
GasAllowanceExceeded,
}
Expand description
Charging error
Variants§
GasLimitExceeded
An error occurs in attempt to charge more gas than available during execution.
GasAllowanceExceeded
Gas allowance exceeded
Trait Implementations§
Source§impl Clone for ChargeError
impl Clone for ChargeError
Source§fn clone(&self) -> ChargeError
fn clone(&self) -> ChargeError
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 ChargeError
impl Debug for ChargeError
Source§impl Display for ChargeError
impl Display for ChargeError
Source§impl From<ChargeError> for AllocError
impl From<ChargeError> for AllocError
Source§fn from(original: ChargeError) -> AllocError
fn from(original: ChargeError) -> AllocError
Converts to this type from the input type.
Source§impl PartialEq for ChargeError
impl PartialEq for ChargeError
impl Eq for ChargeError
impl StructuralPartialEq for ChargeError
Auto Trait Implementations§
impl Freeze for ChargeError
impl RefUnwindSafe for ChargeError
impl Send for ChargeError
impl Sync for ChargeError
impl Unpin for ChargeError
impl UnwindSafe for ChargeError
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