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 nodes to run on a single machine or LAN

Disables rate limiting and disables single client per IP restriction

Disables requirement to provide a resource proof to bootstrap

Overrides default MIN_SECTION_SIZE

Trait Implementations

impl Clone for DevConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for DevConfig
[src]

impl Debug for DevConfig
[src]

Formats the value using the given formatter. Read more

impl Default for DevConfig
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for DevConfig

impl Sync for DevConfig