Struct diem_config::config::StateSyncConfig[][src]

pub struct StateSyncConfig {
Show 13 fields pub chunk_limit: u64, pub client_commit_timeout_ms: u64, pub long_poll_timeout_ms: u64, pub max_chunk_limit: u64, pub max_timeout_ms: u64, pub mempool_commit_timeout_ms: u64, pub multicast_timeout_ms: u64, pub sync_request_timeout_ms: u64, pub tick_interval_ms: u64, pub data_streaming_service: DataStreamingServiceConfig, pub diem_data_client: DiemDataClientConfig, pub state_sync_driver: StateSyncDriverConfig, pub storage_service: StorageServiceConfig,
}

Fields

chunk_limit: u64client_commit_timeout_ms: u64long_poll_timeout_ms: u64max_chunk_limit: u64max_timeout_ms: u64mempool_commit_timeout_ms: u64multicast_timeout_ms: u64sync_request_timeout_ms: u64tick_interval_ms: u64data_streaming_service: DataStreamingServiceConfigdiem_data_client: DiemDataClientConfigstate_sync_driver: StateSyncDriverConfigstorage_service: StorageServiceConfig

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

Should always be Self

Generates a hash used only for tests.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.