pub enum DriverStatusProperty {
InsufficientGas {
driver: String,
network: String,
address: String,
needed_gas_est: String,
},
InsufficientToken {
driver: String,
network: String,
address: String,
needed_token_est: String,
},
InvalidChainId {
driver: String,
chain_id: i64,
},
CantSign {
driver: String,
network: String,
address: String,
},
TxStuck {
driver: String,
network: String,
},
RpcError {
driver: String,
network: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DriverStatusProperty
impl Clone for DriverStatusProperty
Source§fn clone(&self) -> DriverStatusProperty
fn clone(&self) -> DriverStatusProperty
Returns a duplicate 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 DriverStatusProperty
impl Debug for DriverStatusProperty
Source§impl<'de> Deserialize<'de> for DriverStatusProperty
impl<'de> Deserialize<'de> for DriverStatusProperty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DriverStatusProperty
impl PartialEq for DriverStatusProperty
Source§impl Serialize for DriverStatusProperty
impl Serialize for DriverStatusProperty
impl StructuralPartialEq for DriverStatusProperty
Auto Trait Implementations§
impl Freeze for DriverStatusProperty
impl RefUnwindSafe for DriverStatusProperty
impl Send for DriverStatusProperty
impl Sync for DriverStatusProperty
impl Unpin for DriverStatusProperty
impl UnwindSafe for DriverStatusProperty
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