pub fn from_env() -> Self {
        let tx_poll_period_secs: u64 = parse_env("ETH_TX_POLL_PERIOD");

        Self {
            expected_wait_time_block: parse_env("ETH_EXPECTED_WAIT_TIME_BLOCK"),
            tx_poll_period: Duration::new(tx_poll_period_secs, 0),
            wait_confirmations: parse_env("ETH_WAIT_CONFIRMATIONS"),
            max_txs_in_flight: parse_env("ETH_MAX_TXS_IN_FLIGHT"),
            is_enabled: parse_env("ETH_IS_ENABLED"),
        }
    }
/// Parses the `eth_sender` configuration options values from the environment variables.
/// Panics if any of options is missing or has inappropriate value.
Parses the `eth_sender` configuration options values from the environment variables.
Panics if any of options is missing or has inappropriate value.
Parses the ` eth_sender ` configuration options values from the environment variables . Panics if any of options is missing or has inappropriate value .
pub fn from_env() -> Self {
        let tx_poll_period_secs: u64 = parse_env("ETH_TX_POLL_PERIOD");
        Self {
            expected_wait_time_block: parse_env("ETH_EXPECTED_WAIT_TIME_BLOCK"),
            tx_poll_period: Duration::new(tx_poll_period_secs, 0),
            wait_confirmations: parse_env("ETH_WAIT_CONFIRMATIONS"),
            max_txs_in_flight: parse_env("ETH_MAX_TXS_IN_FLIGHT"),
            is_enabled: parse_env("ETH_IS_ENABLED"),
        }
    }
pub fn from_env ( ) -> Self { let tx_poll_period_secs : u64 = parse_env ( " " ) ; Self { expected_wait_time_block : parse_env ( " " ) , tx_poll_period : Duration :: new ( tx_poll_period_secs , 0 ) , wait_confirmations : parse_env ( " " ) , max_txs_in_flight : parse_env ( " " ) , is_enabled : parse_env ( " " ) , } }
Parses the `eth_sender` configuration options values from the environment variables.
Parses the ` eth_sender ` configuration options values from the environment variables .