Struct shadowsocks::config::Config [] [src]

pub struct Config {
    pub server: Vec<ServerConfig>,
    pub local: Option<ClientConfig>,
    pub enable_udp: bool,
    pub forbidden_ip: HashSet<IpAddr>,
}

Configuration

Fields

Methods

impl Config
[src]

[src]

Creates an empty configuration

[src]

[src]

impl Config
[src]

[src]

Trait Implementations

impl Clone for Config
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Config
[src]

[src]

Formats the value using the given formatter.

impl Default for Config
[src]

[src]

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

impl Display for Config
[src]

[src]

Formats the value using the given formatter. Read more