Struct ethcore::verification::queue::Config [−][src]
pub struct Config {
pub max_queue_size: usize,
pub max_mem_use: usize,
pub verifier_settings: VerifierSettings,
}Verification queue configuration
Fields
max_queue_size: usize
Maximum number of items to keep in unverified queue. When the limit is reached, is_full returns true.
max_mem_use: usize
Maximum heap memory to use. When the limit is reached, is_full returns true.
verifier_settings: VerifierSettings
Settings for the number of verifiers and adaptation strategy.
Trait Implementations
impl Debug for Config[src]
impl Debug for Configfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Config[src]
impl PartialEq for Configfn eq(&self, other: &Config) -> bool[src]
fn eq(&self, other: &Config) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Config) -> bool[src]
fn ne(&self, other: &Config) -> boolThis method tests for !=.
impl Clone for Config[src]
impl Clone for Configfn clone(&self) -> Config[src]
fn clone(&self) -> ConfigReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Default for Config[src]
impl Default for Config