Struct diem_config::config::MempoolConfig [−][src]
pub struct MempoolConfig {
pub capacity: usize,
pub capacity_per_user: usize,
pub default_failovers: usize,
pub max_broadcasts_per_peer: usize,
pub mempool_snapshot_interval_secs: u64,
pub shared_mempool_ack_timeout_ms: u64,
pub shared_mempool_backoff_interval_ms: u64,
pub shared_mempool_batch_size: usize,
pub shared_mempool_max_concurrent_inbound_syncs: usize,
pub shared_mempool_tick_interval_ms: u64,
pub system_transaction_timeout_secs: u64,
pub system_transaction_gc_interval_ms: u64,
}Fields
capacity: usizecapacity_per_user: usizedefault_failovers: usizemax_broadcasts_per_peer: usizemempool_snapshot_interval_secs: u64system_transaction_timeout_secs: u64system_transaction_gc_interval_ms: u64Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=.
Auto Trait Implementations
impl RefUnwindSafe for MempoolConfig
impl Send for MempoolConfig
impl Sync for MempoolConfig
impl Unpin for MempoolConfig
impl UnwindSafe for MempoolConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.