pub fn new_with_timeout_and_commitment(
        url: &str,
        timeout: Duration,
        commitment_config: CommitmentConfig,
    ) -> Self {
        Self {
            rpc_client: RpcClient::new_with_timeout_and_commitment(
                url.to_string(),
                timeout,
                commitment_config,
            ),
            ..FarmClient::default()
        }
    }
/// Creates a new FarmClient object with timeout and config
Creates a new FarmClient object with timeout and config
Creates a new FarmClient object with timeout and config
pub fn new_with_timeout_and_commitment(
        url: &str,
        timeout: Duration,
        commitment_config: CommitmentConfig,
    ) -> Self {
        Self {
            rpc_client: RpcClient::new_with_timeout_and_commitment(
                url.to_string(),
                timeout,
                commitment_config,
            ),
            ..FarmClient::default()
        }
    }
pub fn new_with_timeout_and_commitment ( url : & str , timeout : Duration , commitment_config : CommitmentConfig , ) -> Self { Self { rpc_client : RpcClient :: new_with_timeout_and_commitment ( url . to_string ( ) , timeout , commitment_config , ) , .. FarmClient :: default ( ) } }
Creates a new FarmClient object with timeout and config
Creates a new FarmClient object with timeout and config
url
&str
timeout
Duration
commitment_config
CommitmentConfig
url
&str
timeout
Duration
commitment_config
CommitmentConfig