Struct cfx_config::RawConfiguration
source · pub struct RawConfiguration {Show 261 fields
pub mode: Option<String>,
pub debug_invalid_state_root: bool,
pub debug_invalid_state_root_epoch: Option<String>,
pub debug_dump_dir_invalid_state_root: String,
pub dev_block_interval_ms: Option<u64>,
pub dev_pack_tx_immediately: Option<bool>,
pub enable_state_expose: bool,
pub generate_tx: bool,
pub generate_tx_period_us: Option<u64>,
pub log_conf: Option<String>,
pub log_file: Option<String>,
pub max_block_size_in_bytes: usize,
pub evm_transaction_block_ratio: u64,
pub evm_transaction_gas_ratio: u64,
pub metrics_enabled: bool,
pub metrics_influxdb_host: Option<String>,
pub metrics_influxdb_db: String,
pub metrics_influxdb_username: Option<String>,
pub metrics_influxdb_password: Option<String>,
pub metrics_influxdb_node: Option<String>,
pub metrics_output_file: Option<String>,
pub metrics_report_interval_ms: u64,
pub metrics_prometheus_listen_addr: Option<String>,
pub rocksdb_disable_wal: bool,
pub txgen_account_count: usize,
pub adaptive_weight_beta: u64,
pub anticone_penalty_ratio: u64,
pub chain_id: Option<u32>,
pub evm_chain_id: Option<u32>,
pub execute_genesis: bool,
pub default_transition_time: Option<u64>,
pub dev_snapshot_epoch_count: u32,
pub era_epoch_count: u64,
pub heavy_block_difficulty_ratio: u64,
pub genesis_accounts: Option<String>,
pub genesis_evm_secrets: Option<String>,
pub genesis_secrets: Option<String>,
pub pivot_hint_path: Option<String>,
pub pivot_hint_checksum: Option<String>,
pub initial_difficulty: Option<u64>,
pub referee_bound: usize,
pub timer_chain_beta: u64,
pub timer_chain_block_difficulty_ratio: u64,
pub transaction_epoch_bound: u64,
pub tanzanite_transition_height: u64,
pub hydra_transition_number: Option<u64>,
pub hydra_transition_height: Option<u64>,
pub cip43_init_end_number: Option<u64>,
pub cip78_patch_transition_number: Option<u64>,
pub cip90_transition_height: Option<u64>,
pub cip90_transition_number: Option<u64>,
pub dao_vote_transition_number: Option<u64>,
pub dao_vote_transition_height: Option<u64>,
pub cip105_transition_number: Option<u64>,
pub params_dao_vote_period: u64,
pub sigma_fix_transition_number: Option<u64>,
pub cip107_transition_number: Option<u64>,
pub cip112_transition_height: Option<u64>,
pub cip118_transition_number: Option<u64>,
pub cip119_transition_number: Option<u64>,
pub base_fee_burn_transition_number: Option<u64>,
pub base_fee_burn_transition_height: Option<u64>,
pub cip1559_transition_height: Option<u64>,
pub c2_fix_transition_height: Option<u64>,
pub cancun_opcodes_transition_number: Option<u64>,
pub min_native_base_price: Option<u64>,
pub min_eth_base_price: Option<u64>,
pub eoa_code_transition_height: Option<u64>,
pub cip151_transition_height: Option<u64>,
pub cip645_transition_height: Option<u64>,
pub align_evm_transition_height: u64,
pub mining_author: Option<String>,
pub mining_type: Option<String>,
pub stratum_listen_address: String,
pub stratum_port: u16,
pub stratum_secret: Option<String>,
pub use_octopus_in_test_mode: bool,
pub pow_problem_window_size: usize,
pub jsonrpc_local_tcp_port: Option<u16>,
pub jsonrpc_local_http_port: Option<u16>,
pub jsonrpc_local_ws_port: Option<u16>,
pub jsonrpc_ws_port: Option<u16>,
pub jsonrpc_tcp_port: Option<u16>,
pub jsonrpc_http_port: Option<u16>,
pub jsonrpc_http_threads: Option<usize>,
pub jsonrpc_cors: Option<String>,
pub jsonrpc_http_keep_alive: bool,
pub jsonrpc_ws_max_payload_bytes: usize,
pub jsonrpc_http_eth_port: Option<u16>,
pub jsonrpc_ws_eth_port: Option<u16>,
pub jsonrpc_http_eth_port_v2: Option<u16>,
pub network_id: Option<u64>,
pub rpc_enable_metrics: bool,
pub tcp_port: u16,
pub public_tcp_port: Option<u16>,
pub public_address: Option<String>,
pub udp_port: Option<u16>,
pub max_estimation_gas_limit: Option<u64>,
pub blocks_request_timeout_ms: u64,
pub check_request_period_ms: u64,
pub chunk_size_byte: u64,
pub demote_peer_for_timeout: bool,
pub dev_allow_phase_change_without_peer: bool,
pub egress_queue_capacity: usize,
pub egress_min_throttle: usize,
pub egress_max_throttle: usize,
pub expire_block_gc_period_s: u64,
pub headers_request_timeout_ms: u64,
pub heartbeat_period_interval_ms: u64,
pub heartbeat_timeout_ms: u64,
pub inflight_pending_tx_index_maintain_timeout_ms: u64,
pub max_allowed_timeout_in_observing_period: u64,
pub max_chunk_number_in_manifest: usize,
pub max_downloading_chunks: usize,
pub max_downloading_chunk_attempts: usize,
pub max_downloading_manifest_attempts: usize,
pub max_handshakes: usize,
pub max_incoming_peers: usize,
pub max_inflight_request_count: u64,
pub max_outgoing_peers: usize,
pub max_outgoing_peers_archive: Option<usize>,
pub max_peers_tx_propagation: usize,
pub max_unprocessed_block_size_mb: usize,
pub min_peers_tx_propagation: usize,
pub min_phase_change_normal_peer_count: usize,
pub received_tx_index_maintain_timeout_ms: u64,
pub request_block_with_public: bool,
pub send_tx_period_ms: u64,
pub snapshot_candidate_request_timeout_ms: u64,
pub snapshot_chunk_request_timeout_ms: u64,
pub snapshot_manifest_request_timeout_ms: u64,
pub sync_expire_block_timeout_s: u64,
pub throttling_conf: Option<String>,
pub timeout_observing_period_s: u64,
pub transaction_request_timeout_ms: u64,
pub tx_maintained_for_peer_timeout_ms: u64,
pub bootnodes: Option<String>,
pub discovery_discover_node_count: u32,
pub discovery_expire_time_s: u64,
pub discovery_fast_refresh_timeout_ms: u64,
pub discovery_find_node_timeout_ms: u64,
pub discovery_housekeeping_timeout_ms: u64,
pub discovery_max_nodes_ping: usize,
pub discovery_ping_timeout_ms: u64,
pub discovery_round_timeout_ms: u64,
pub discovery_throttling_interval_ms: u64,
pub discovery_throttling_limit_ping: usize,
pub discovery_throttling_limit_find_nodes: usize,
pub enable_discovery: bool,
pub netconf_dir: Option<String>,
pub net_key: Option<String>,
pub node_table_timeout_s: u64,
pub node_table_promotion_timeout_s: u64,
pub session_ip_limits: String,
pub subnet_quota: usize,
pub tx_cache_index_maintain_timeout_ms: u64,
pub tx_pool_size: usize,
pub tx_pool_min_native_tx_gas_price: Option<u64>,
pub tx_pool_min_eth_tx_gas_price: Option<u64>,
pub tx_pool_nonce_bits: usize,
pub tx_pool_allow_gas_over_half_block: bool,
pub max_packing_batch_gas_limit: u64,
pub max_packing_batch_size: usize,
pub packing_pool_degree: u8,
pub additional_maintained_snapshot_count: u32,
pub additional_maintained_block_body_epoch_count: Option<usize>,
pub additional_maintained_execution_result_epoch_count: Option<usize>,
pub additional_maintained_reward_epoch_count: Option<usize>,
pub additional_maintained_trace_epoch_count: Option<usize>,
pub additional_maintained_transaction_index_epoch_count: Option<usize>,
pub block_cache_gc_period_ms: u64,
pub block_db_dir: Option<String>,
pub block_db_type: String,
pub checkpoint_gc_time_in_era_count: f64,
pub conflux_data_dir: String,
pub enable_single_mpt_storage: bool,
pub ledger_cache_size: usize,
pub invalid_block_hash_cache_size_in_count: usize,
pub rocksdb_cache_size: Option<usize>,
pub rocksdb_compaction_profile: Option<String>,
pub storage_delta_mpts_cache_recent_lfu_factor: f64,
pub storage_delta_mpts_cache_size: u32,
pub storage_delta_mpts_cache_start_size: u32,
pub storage_delta_mpts_node_map_vec_size: u32,
pub storage_delta_mpts_slab_idle_size: u32,
pub storage_single_mpt_cache_size: u32,
pub storage_single_mpt_cache_start_size: u32,
pub storage_single_mpt_slab_idle_size: u32,
pub storage_max_open_snapshots: u16,
pub storage_max_open_mpt_count: u32,
pub strict_tx_index_gc: bool,
pub sync_state_starting_epoch: Option<u64>,
pub sync_state_epoch_gap: Option<u64>,
pub target_difficulties_cache_size_in_count: usize,
pub account_provider_refresh_time_ms: u64,
pub check_phase_change_period_ms: u64,
pub enable_optimistic_execution: bool,
pub future_block_buffer_capacity: usize,
pub get_logs_filter_max_limit: Option<usize>,
pub get_logs_filter_max_epoch_range: Option<u64>,
pub get_logs_filter_max_block_number_range: Option<u64>,
pub get_logs_epoch_batch_size: usize,
pub max_trans_count_received_in_catch_up: u64,
pub persist_tx_index: bool,
pub persist_block_number_index: bool,
pub print_memory_usage_period_s: Option<u64>,
pub target_block_gas_limit: u64,
pub executive_trace: bool,
pub check_status_genesis: bool,
pub packing_gas_limit_block_count: u64,
pub poll_lifetime_in_seconds: Option<u32>,
pub is_consortium: bool,
pub pos_config_path: Option<String>,
pub pos_genesis_pivot_decision: Option<H256>,
pub vrf_proposal_threshold: U256,
pub pos_pivot_decision_defer_epoch_count: u64,
pub cip113_pivot_decision_defer_epoch_count: u64,
pub cip113_transition_height: u64,
pub pos_reference_enable_height: u64,
pub pos_initial_nodes_path: String,
pub pos_private_key_path: String,
pub pos_round_per_term: u64,
pub pos_term_max_size: usize,
pub pos_term_elected_size: usize,
pub pos_in_queue_locked_views: u64,
pub pos_out_queue_locked_views: u64,
pub pos_cip99_transition_view: u64,
pub pos_cip99_in_queue_locked_views: u64,
pub pos_cip99_out_queue_locked_views: u64,
pub nonce_limit_transition_view: u64,
pub pos_cip136_transition_view: u64,
pub pos_cip136_in_queue_locked_views: u64,
pub pos_cip136_out_queue_locked_views: u64,
pub pos_cip136_round_per_term: u64,
pub pos_cip156_transition_view: u64,
pub pos_cip156_dispute_locked_views: u64,
pub dev_pos_private_key_encryption_password: Option<String>,
pub pos_started_as_voter: bool,
pub ln_epoch_request_batch_size: Option<usize>,
pub ln_epoch_request_timeout_sec: Option<u64>,
pub ln_header_request_batch_size: Option<usize>,
pub ln_header_request_timeout_sec: Option<u64>,
pub ln_max_headers_in_flight: Option<usize>,
pub ln_max_parallel_epochs_to_request: Option<usize>,
pub ln_num_epochs_to_request: Option<usize>,
pub ln_num_waiting_headers_threshold: Option<usize>,
pub keep_snapshot_before_stable_checkpoint: bool,
pub force_recompute_height_during_construct_pivot: Option<u64>,
pub use_isolated_db_for_mpt_table: bool,
pub use_isolated_db_for_mpt_table_height: Option<u64>,
pub recovery_latest_mpt_snapshot: bool,
pub keep_era_genesis_snapshot: bool,
pub backup_mpt_snapshot: bool,
pub log_level: LevelFilter,
pub chain_id_params: Option<ChainIdParamsOneChainInner>,
pub provide_more_snapshot_for_sync: Vec<ProvideExtraSnapshotSyncConfig>,
pub node_type: Option<NodeType>,
pub public_rpc_apis: ApiSet,
pub public_evm_rpc_apis: EthApiSet,
pub public_evm_rpc_async_apis: RpcModuleSelection,
pub single_mpt_space: Option<Space>,
}
Fields§
§mode: Option<String>
§debug_invalid_state_root: bool
§debug_invalid_state_root_epoch: Option<String>
§debug_dump_dir_invalid_state_root: String
§dev_block_interval_ms: Option<u64>
§dev_pack_tx_immediately: Option<bool>
§enable_state_expose: bool
§generate_tx: bool
§generate_tx_period_us: Option<u64>
§log_conf: Option<String>
§log_file: Option<String>
§max_block_size_in_bytes: usize
§evm_transaction_block_ratio: u64
§evm_transaction_gas_ratio: u64
§metrics_enabled: bool
§metrics_influxdb_host: Option<String>
§metrics_influxdb_db: String
§metrics_influxdb_username: Option<String>
§metrics_influxdb_password: Option<String>
§metrics_influxdb_node: Option<String>
§metrics_output_file: Option<String>
§metrics_report_interval_ms: u64
§metrics_prometheus_listen_addr: Option<String>
§rocksdb_disable_wal: bool
§txgen_account_count: usize
§adaptive_weight_beta: u64
§anticone_penalty_ratio: u64
§chain_id: Option<u32>
§evm_chain_id: Option<u32>
§execute_genesis: bool
§default_transition_time: Option<u64>
§dev_snapshot_epoch_count: u32
§era_epoch_count: u64
§heavy_block_difficulty_ratio: u64
§genesis_accounts: Option<String>
§genesis_evm_secrets: Option<String>
§genesis_secrets: Option<String>
§pivot_hint_path: Option<String>
§pivot_hint_checksum: Option<String>
§initial_difficulty: Option<u64>
§referee_bound: usize
§timer_chain_beta: u64
§timer_chain_block_difficulty_ratio: u64
§transaction_epoch_bound: u64
§tanzanite_transition_height: u64
§hydra_transition_number: Option<u64>
§hydra_transition_height: Option<u64>
§cip43_init_end_number: Option<u64>
§cip78_patch_transition_number: Option<u64>
§cip90_transition_height: Option<u64>
§cip90_transition_number: Option<u64>
§dao_vote_transition_number: Option<u64>
§dao_vote_transition_height: Option<u64>
§cip105_transition_number: Option<u64>
§params_dao_vote_period: u64
§sigma_fix_transition_number: Option<u64>
§cip107_transition_number: Option<u64>
§cip112_transition_height: Option<u64>
§cip118_transition_number: Option<u64>
§cip119_transition_number: Option<u64>
§base_fee_burn_transition_number: Option<u64>
§base_fee_burn_transition_height: Option<u64>
§cip1559_transition_height: Option<u64>
§c2_fix_transition_height: Option<u64>
§cancun_opcodes_transition_number: Option<u64>
§min_native_base_price: Option<u64>
§min_eth_base_price: Option<u64>
§eoa_code_transition_height: Option<u64>
§cip151_transition_height: Option<u64>
§cip645_transition_height: Option<u64>
§align_evm_transition_height: u64
§mining_type: Option<String>
§stratum_listen_address: String
§stratum_port: u16
§stratum_secret: Option<String>
§use_octopus_in_test_mode: bool
§pow_problem_window_size: usize
§jsonrpc_local_tcp_port: Option<u16>
§jsonrpc_local_http_port: Option<u16>
§jsonrpc_local_ws_port: Option<u16>
§jsonrpc_ws_port: Option<u16>
§jsonrpc_tcp_port: Option<u16>
§jsonrpc_http_port: Option<u16>
§jsonrpc_http_threads: Option<usize>
§jsonrpc_cors: Option<String>
§jsonrpc_http_keep_alive: bool
§jsonrpc_ws_max_payload_bytes: usize
§jsonrpc_http_eth_port: Option<u16>
§jsonrpc_ws_eth_port: Option<u16>
§jsonrpc_http_eth_port_v2: Option<u16>
§network_id: Option<u64>
§rpc_enable_metrics: bool
§tcp_port: u16
§public_tcp_port: Option<u16>
§public_address: Option<String>
§udp_port: Option<u16>
§max_estimation_gas_limit: Option<u64>
§blocks_request_timeout_ms: u64
§check_request_period_ms: u64
§chunk_size_byte: u64
§demote_peer_for_timeout: bool
§dev_allow_phase_change_without_peer: bool
§egress_queue_capacity: usize
§egress_min_throttle: usize
§egress_max_throttle: usize
§expire_block_gc_period_s: u64
§headers_request_timeout_ms: u64
§heartbeat_period_interval_ms: u64
§heartbeat_timeout_ms: u64
§inflight_pending_tx_index_maintain_timeout_ms: u64
§max_allowed_timeout_in_observing_period: u64
§max_chunk_number_in_manifest: usize
§max_downloading_chunks: usize
§max_downloading_chunk_attempts: usize
§max_downloading_manifest_attempts: usize
§max_handshakes: usize
§max_incoming_peers: usize
§max_inflight_request_count: u64
§max_outgoing_peers: usize
§max_outgoing_peers_archive: Option<usize>
§max_peers_tx_propagation: usize
§max_unprocessed_block_size_mb: usize
§min_peers_tx_propagation: usize
§min_phase_change_normal_peer_count: usize
§received_tx_index_maintain_timeout_ms: u64
§request_block_with_public: bool
§send_tx_period_ms: u64
§snapshot_candidate_request_timeout_ms: u64
§snapshot_chunk_request_timeout_ms: u64
§snapshot_manifest_request_timeout_ms: u64
§sync_expire_block_timeout_s: u64
§throttling_conf: Option<String>
§timeout_observing_period_s: u64
§transaction_request_timeout_ms: u64
§tx_maintained_for_peer_timeout_ms: u64
§bootnodes: Option<String>
§discovery_discover_node_count: u32
§discovery_expire_time_s: u64
§discovery_fast_refresh_timeout_ms: u64
§discovery_find_node_timeout_ms: u64
§discovery_housekeeping_timeout_ms: u64
§discovery_max_nodes_ping: usize
§discovery_ping_timeout_ms: u64
§discovery_round_timeout_ms: u64
§discovery_throttling_interval_ms: u64
§discovery_throttling_limit_ping: usize
§discovery_throttling_limit_find_nodes: usize
§enable_discovery: bool
§netconf_dir: Option<String>
§net_key: Option<String>
§node_table_timeout_s: u64
§node_table_promotion_timeout_s: u64
§session_ip_limits: String
§subnet_quota: usize
§tx_cache_index_maintain_timeout_ms: u64
§tx_pool_size: usize
§tx_pool_min_native_tx_gas_price: Option<u64>
§tx_pool_min_eth_tx_gas_price: Option<u64>
§tx_pool_nonce_bits: usize
§tx_pool_allow_gas_over_half_block: bool
§max_packing_batch_gas_limit: u64
§max_packing_batch_size: usize
§packing_pool_degree: u8
§additional_maintained_snapshot_count: u32
§additional_maintained_block_body_epoch_count: Option<usize>
§additional_maintained_execution_result_epoch_count: Option<usize>
§additional_maintained_reward_epoch_count: Option<usize>
§additional_maintained_trace_epoch_count: Option<usize>
§additional_maintained_transaction_index_epoch_count: Option<usize>
§block_cache_gc_period_ms: u64
§block_db_dir: Option<String>
§block_db_type: String
§checkpoint_gc_time_in_era_count: f64
§conflux_data_dir: String
§enable_single_mpt_storage: bool
§ledger_cache_size: usize
§invalid_block_hash_cache_size_in_count: usize
§rocksdb_cache_size: Option<usize>
§rocksdb_compaction_profile: Option<String>
§storage_delta_mpts_cache_recent_lfu_factor: f64
§storage_delta_mpts_cache_size: u32
§storage_delta_mpts_cache_start_size: u32
§storage_delta_mpts_node_map_vec_size: u32
§storage_delta_mpts_slab_idle_size: u32
§storage_single_mpt_cache_size: u32
§storage_single_mpt_cache_start_size: u32
§storage_single_mpt_slab_idle_size: u32
§storage_max_open_snapshots: u16
§storage_max_open_mpt_count: u32
§strict_tx_index_gc: bool
§sync_state_starting_epoch: Option<u64>
§sync_state_epoch_gap: Option<u64>
§target_difficulties_cache_size_in_count: usize
§account_provider_refresh_time_ms: u64
§check_phase_change_period_ms: u64
§enable_optimistic_execution: bool
§future_block_buffer_capacity: usize
§get_logs_filter_max_limit: Option<usize>
§get_logs_filter_max_epoch_range: Option<u64>
§get_logs_filter_max_block_number_range: Option<u64>
§get_logs_epoch_batch_size: usize
§max_trans_count_received_in_catch_up: u64
§persist_tx_index: bool
§persist_block_number_index: bool
§print_memory_usage_period_s: Option<u64>
§target_block_gas_limit: u64
§executive_trace: bool
§check_status_genesis: bool
§packing_gas_limit_block_count: u64
§poll_lifetime_in_seconds: Option<u32>
§is_consortium: bool
§pos_config_path: Option<String>
§pos_genesis_pivot_decision: Option<H256>
§vrf_proposal_threshold: U256
§pos_pivot_decision_defer_epoch_count: u64
§cip113_pivot_decision_defer_epoch_count: u64
§cip113_transition_height: u64
§pos_reference_enable_height: u64
§pos_initial_nodes_path: String
§pos_private_key_path: String
§pos_round_per_term: u64
§pos_term_max_size: usize
§pos_term_elected_size: usize
§pos_in_queue_locked_views: u64
§pos_out_queue_locked_views: u64
§pos_cip99_transition_view: u64
§pos_cip99_in_queue_locked_views: u64
§pos_cip99_out_queue_locked_views: u64
§nonce_limit_transition_view: u64
§pos_cip136_transition_view: u64
§pos_cip136_in_queue_locked_views: u64
§pos_cip136_out_queue_locked_views: u64
§pos_cip136_round_per_term: u64
§pos_cip156_transition_view: u64
§pos_cip156_dispute_locked_views: u64
§dev_pos_private_key_encryption_password: Option<String>
§pos_started_as_voter: bool
§ln_epoch_request_batch_size: Option<usize>
§ln_epoch_request_timeout_sec: Option<u64>
§ln_header_request_batch_size: Option<usize>
§ln_header_request_timeout_sec: Option<u64>
§ln_max_headers_in_flight: Option<usize>
§ln_max_parallel_epochs_to_request: Option<usize>
§ln_num_epochs_to_request: Option<usize>
§ln_num_waiting_headers_threshold: Option<usize>
§keep_snapshot_before_stable_checkpoint: bool
§force_recompute_height_during_construct_pivot: Option<u64>
§use_isolated_db_for_mpt_table: bool
§use_isolated_db_for_mpt_table_height: Option<u64>
§recovery_latest_mpt_snapshot: bool
§keep_era_genesis_snapshot: bool
§backup_mpt_snapshot: bool
§log_level: LevelFilter
§chain_id_params: Option<ChainIdParamsOneChainInner>
§provide_more_snapshot_for_sync: Vec<ProvideExtraSnapshotSyncConfig>
§node_type: Option<NodeType>
§public_rpc_apis: ApiSet
§public_evm_rpc_apis: EthApiSet
§public_evm_rpc_async_apis: RpcModuleSelection
§single_mpt_space: Option<Space>
Implementations§
source§impl RawConfiguration
impl RawConfiguration
pub fn parse(matches: &ArgMatches<'_>) -> Result<RawConfiguration, String>
pub fn from_file(config_path: &str) -> Result<RawConfiguration, String>
Trait Implementations§
source§impl Clone for RawConfiguration
impl Clone for RawConfiguration
source§fn clone(&self) -> RawConfiguration
fn clone(&self) -> RawConfiguration
Returns a copy 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 RawConfiguration
impl Debug for RawConfiguration
source§impl Default for RawConfiguration
impl Default for RawConfiguration
source§impl PartialEq for RawConfiguration
impl PartialEq for RawConfiguration
source§fn eq(&self, other: &RawConfiguration) -> bool
fn eq(&self, other: &RawConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RawConfiguration
Auto Trait Implementations§
impl Freeze for RawConfiguration
impl RefUnwindSafe for RawConfiguration
impl Send for RawConfiguration
impl Sync for RawConfiguration
impl Unpin for RawConfiguration
impl UnwindSafe for RawConfiguration
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
§impl<T> Conv for T
impl<T> Conv for T
source§impl<T> ElementSatisfy<ElementNoConstrain> for T
impl<T> ElementSatisfy<ElementNoConstrain> for T
fn to_constrain_object(&self) -> &ElementNoConstrain
fn to_constrain_object_mut(&mut self) -> &mut ElementNoConstrain
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.