pub enum ChargeResult {
Enough,
NotEnough,
}Expand description
The result of charging gas.
Variants§
Implementations§
Source§impl ChargeResult
impl ChargeResult
Trait Implementations§
Source§impl Clone for ChargeResult
impl Clone for ChargeResult
Source§fn clone(&self) -> ChargeResult
fn clone(&self) -> ChargeResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChargeResult
Source§impl Debug for ChargeResult
impl Debug for ChargeResult
impl Eq for ChargeResult
Source§impl PartialEq for ChargeResult
impl PartialEq for ChargeResult
Source§fn eq(&self, other: &ChargeResult) -> bool
fn eq(&self, other: &ChargeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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