Struct solana_cli::cli::CliConfig [−][src]
pub struct CliConfig<'a> {Show 13 fields
pub command: CliCommand,
pub json_rpc_url: String,
pub websocket_url: String,
pub signers: Vec<&'a dyn Signer>,
pub keypair_path: String,
pub rpc_client: Option<Arc<RpcClient>>,
pub rpc_timeout: Duration,
pub verbose: bool,
pub output_format: OutputFormat,
pub commitment: CommitmentConfig,
pub send_transaction_config: RpcSendTransactionConfig,
pub confirm_transaction_initial_timeout: Duration,
pub address_labels: HashMap<String, String>,
}Fields
command: CliCommandjson_rpc_url: Stringwebsocket_url: Stringsigners: Vec<&'a dyn Signer>keypair_path: Stringrpc_client: Option<Arc<RpcClient>>rpc_timeout: Durationverbose: booloutput_format: OutputFormatcommitment: CommitmentConfigsend_transaction_config: RpcSendTransactionConfigconfirm_transaction_initial_timeout: Durationaddress_labels: HashMap<String, String>Implementations
pub fn compute_websocket_url_setting(
websocket_cmd_url: &str,
websocket_cfg_url: &str,
json_rpc_cmd_url: &str,
json_rpc_cfg_url: &str
) -> (SettingType, String)
pub fn compute_json_rpc_url_setting(
json_rpc_cmd_url: &str,
json_rpc_cfg_url: &str
) -> (SettingType, String)
pub fn compute_keypair_path_setting(
keypair_cmd_path: &str,
keypair_cfg_path: &str
) -> (SettingType, String)
pub fn compute_commitment_config(
commitment_cmd: &str,
commitment_cfg: &str
) -> (SettingType, CommitmentConfig)
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CliConfig<'a>
impl<'a> !UnwindSafe for CliConfig<'a>
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more