pub struct RawConfiguration {
Show 252 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 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 tanzanite_transition_height: u64, pub hydra_transition_number: Option<u64>, pub hydra_transition_height: Option<u64>, pub dao_vote_transition_number: Option<u64>, pub dao_vote_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 cip105_transition_number: Option<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 next_hardfork_transition_number: Option<u64>, pub next_hardfork_transition_height: Option<u64>, pub cip1559_transition_height: Option<u64>, pub cancun_opcodes_transition_number: Option<u64>, pub referee_bound: usize, pub params_dao_vote_period: u64, pub timer_chain_beta: u64, pub timer_chain_block_difficulty_ratio: u64, pub min_native_base_price: Option<u64>, pub min_eth_base_price: Option<u64>, pub transaction_epoch_bound: 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 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 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: ApiSet, 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§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>§tanzanite_transition_height: u64§hydra_transition_number: Option<u64>§hydra_transition_height: Option<u64>§dao_vote_transition_number: Option<u64>§dao_vote_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>§cip105_transition_number: Option<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>§next_hardfork_transition_number: Option<u64>§next_hardfork_transition_height: Option<u64>§cip1559_transition_height: Option<u64>§cancun_opcodes_transition_number: Option<u64>§referee_bound: usize§params_dao_vote_period: u64§timer_chain_beta: u64§timer_chain_block_difficulty_ratio: u64§min_native_base_price: Option<u64>§min_eth_base_price: Option<u64>§transaction_epoch_bound: u64§mining_author: Option<String>§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§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§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: ApiSet§public_evm_rpc_async_apis: RpcModuleSelection§single_mpt_space: Option<Space>

Implementations§

Trait Implementations§

source§

impl Clone for RawConfiguration

source§

fn clone(&self) -> RawConfiguration

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for RawConfiguration

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for RawConfiguration

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl PartialEq for RawConfiguration

source§

fn eq(&self, other: &RawConfiguration) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for RawConfiguration

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneAny for T
where T: Any + Clone + Send + Sync,

§

fn clone_any(&self) -> Box<dyn CloneAny>

§

fn clone_any_send(&self) -> Box<dyn CloneAny + Send>

§

fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync>

§

fn clone_any_send_sync(&self) -> Box<dyn CloneAny + Sync + Send>

§

impl<T> Conv for T

§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> ElementSatisfy<ElementNoConstrain> for T

§

impl<T> FmtForward for T

§

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,

Causes self to use its Display implementation when Debug-formatted.
§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
§

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,

Causes self to use its Pointer implementation when Debug-formatted.
§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pipe for T
where T: ?Sized,

§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where 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) -> R
where 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) -> R
where 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
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

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
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

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
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<T> Tap for T

§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
§

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

Calls .tap_mut() only in debug builds, and is erased in release builds.
§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

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
where Self: BorrowMut<B>, B: ?Sized,

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
where Self: AsRef<R>, R: ?Sized,

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
where Self: AsMut<R>, R: ?Sized,

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
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T> TryConv for T

§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
§

impl<T> DebugAny for T
where T: Any + Debug,

§

impl<T> ErasedDestructor for T
where T: 'static,

§

impl<T> MaybeSend for T
where T: Send,

§

impl<T> MaybeSendSync for T

§

impl<T> UnsafeAny for T
where T: Any,