DefaultArgs

Struct DefaultArgs 

Source
pub struct DefaultArgs {
Show 58 fields pub bind_address: String, pub dynamic_port_range: String, pub ledger_path: String, pub genesis_archive_unpacked_size: String, pub health_check_slot_distance: String, pub tower_storage: String, pub etcd_domain_name: String, pub send_transaction_service_config: Config, pub rpc_max_multiple_accounts: String, pub rpc_pubsub_max_active_subscriptions: String, pub rpc_pubsub_queue_capacity_items: String, pub rpc_pubsub_queue_capacity_bytes: String, pub rpc_send_transaction_retry_ms: String, pub rpc_send_transaction_batch_ms: String, pub rpc_send_transaction_leader_forward_count: String, pub rpc_send_transaction_service_max_retries: String, pub rpc_send_transaction_batch_size: String, pub rpc_send_transaction_retry_pool_max_size: String, pub rpc_threads: String, pub rpc_blocking_threads: String, pub rpc_niceness_adjustment: String, pub rpc_bigtable_timeout: String, pub rpc_bigtable_instance_name: String, pub rpc_bigtable_app_profile_id: String, pub rpc_bigtable_max_message_size: String, pub rpc_max_request_body_size: String, pub rpc_pubsub_worker_threads: String, pub rpc_pubsub_notification_threads: String, pub maximum_local_snapshot_age: String, pub maximum_full_snapshot_archives_to_retain: String, pub maximum_incremental_snapshot_archives_to_retain: String, pub snapshot_packager_niceness_adjustment: String, pub full_snapshot_archive_interval_slots: String, pub incremental_snapshot_archive_interval_slots: String, pub min_snapshot_download_speed: String, pub max_snapshot_download_abort: String, pub contact_debug_interval: String, pub snapshot_version: SnapshotVersion, pub snapshot_archive_format: String, pub snapshot_zstd_compression_level: String, pub rocksdb_shred_compaction: String, pub rocksdb_ledger_compression: String, pub rocksdb_perf_sample_interval: String, pub accounts_shrink_optimize_total_space: String, pub accounts_shrink_ratio: String, pub tpu_connection_pool_size: String, pub tpu_max_connections_per_peer: String, pub tpu_max_connections_per_ipaddr_per_minute: String, pub tpu_max_staked_connections: String, pub tpu_max_unstaked_connections: String, pub tpu_max_fwd_staked_connections: String, pub tpu_max_fwd_unstaked_connections: String, pub tpu_max_streams_per_ms: String, pub num_quic_endpoints: String, pub vote_use_quic: String, pub banking_trace_dir_byte_limit: String, pub wen_restart_path: String, pub thread_args: DefaultThreadArgs,
}

Fields§

§bind_address: String§dynamic_port_range: String§ledger_path: String§genesis_archive_unpacked_size: String§health_check_slot_distance: String§tower_storage: String§etcd_domain_name: String§send_transaction_service_config: Config§rpc_max_multiple_accounts: String§rpc_pubsub_max_active_subscriptions: String§rpc_pubsub_queue_capacity_items: String§rpc_pubsub_queue_capacity_bytes: String§rpc_send_transaction_retry_ms: String§rpc_send_transaction_batch_ms: String§rpc_send_transaction_leader_forward_count: String§rpc_send_transaction_service_max_retries: String§rpc_send_transaction_batch_size: String§rpc_send_transaction_retry_pool_max_size: String§rpc_threads: String§rpc_blocking_threads: String§rpc_niceness_adjustment: String§rpc_bigtable_timeout: String§rpc_bigtable_instance_name: String§rpc_bigtable_app_profile_id: String§rpc_bigtable_max_message_size: String§rpc_max_request_body_size: String§rpc_pubsub_worker_threads: String§rpc_pubsub_notification_threads: String§maximum_local_snapshot_age: String§maximum_full_snapshot_archives_to_retain: String§maximum_incremental_snapshot_archives_to_retain: String§snapshot_packager_niceness_adjustment: String§full_snapshot_archive_interval_slots: String§incremental_snapshot_archive_interval_slots: String§min_snapshot_download_speed: String§max_snapshot_download_abort: String§contact_debug_interval: String§snapshot_version: SnapshotVersion§snapshot_archive_format: String§snapshot_zstd_compression_level: String§rocksdb_shred_compaction: String§rocksdb_ledger_compression: String§rocksdb_perf_sample_interval: String§accounts_shrink_optimize_total_space: String§accounts_shrink_ratio: String§tpu_connection_pool_size: String§tpu_max_connections_per_peer: String§tpu_max_connections_per_ipaddr_per_minute: String§tpu_max_staked_connections: String§tpu_max_unstaked_connections: String§tpu_max_fwd_staked_connections: String§tpu_max_fwd_unstaked_connections: String§tpu_max_streams_per_ms: String§num_quic_endpoints: String§vote_use_quic: String§banking_trace_dir_byte_limit: String§wen_restart_path: String§thread_args: DefaultThreadArgs

Implementations§

Source§

impl DefaultArgs

Source

pub fn new() -> Self

Trait Implementations§

Source§

impl Default for DefaultArgs

Source§

fn default() -> Self

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

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<'a, T, E> AsTaggedExplicit<'a, E> for T
where T: 'a,

Source§

fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self, E>

Source§

impl<'a, T, E> AsTaggedImplicit<'a, E> for T
where T: 'a,

Source§

fn implicit( self, class: Class, constructed: bool, tag: u32, ) -> TaggedParser<'a, Implicit, Self, E>

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
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FutureExt for T

Source§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Source§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
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.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

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

Initializes a with the given initializer. Read more
Source§

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

Dereferences the given pointer. Read more
Source§

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

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

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

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

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

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

Source§

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>,

Source§

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.
Source§

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

Source§

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
Source§

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

Source§

impl<T> MaybeSendSync for T