Struct routing::DevConfig [−][src]
pub struct DevConfig { pub allow_multiple_lan_nodes: bool, pub disable_client_rate_limiter: bool, pub disable_resource_proof: bool, pub min_section_size: Option<usize>, }
Extra configuration options intended for developers
Fields
allow_multiple_lan_nodes: bool
Allow multiple nodes to run on a single machine or LAN
disable_client_rate_limiter: bool
Disables rate limiting and disables single client per IP restriction
disable_resource_proof: bool
Disables requirement to provide a resource proof to bootstrap
min_section_size: Option<usize>
Overrides default MIN_SECTION_SIZE
Trait Implementations
impl Clone for DevConfig
[src]
impl Clone for DevConfig
fn clone(&self) -> DevConfig
[src]
fn clone(&self) -> DevConfig
Returns 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 Copy for DevConfig
[src]
impl Copy for DevConfig
impl Debug for DevConfig
[src]
impl Debug for DevConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for DevConfig
[src]
impl Default for DevConfig