pub enum ChargeResult {
Enough,
NotEnough,
}
Expand description
The result of charging gas.
Variants§
Enough
There was enough gas and it has been charged.
NotEnough
There was not enough gas and it hasn’t been charged.
Trait Implementations§
Source§impl Clone for ChargeResult
impl Clone for ChargeResult
Source§fn clone(&self) -> ChargeResult
fn clone(&self) -> ChargeResult
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 ChargeResult
impl Debug for ChargeResult
Source§impl PartialEq for ChargeResult
impl PartialEq for ChargeResult
impl Copy for ChargeResult
impl Eq for ChargeResult
impl StructuralPartialEq for ChargeResult
Auto Trait Implementations§
impl Freeze for ChargeResult
impl RefUnwindSafe for ChargeResult
impl Send for ChargeResult
impl Sync for ChargeResult
impl Unpin for ChargeResult
impl UnwindSafe for ChargeResult
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