Struct shadowsocks::config::ServerConfig [] [src]

pub struct ServerConfig { /* fields omitted */ }

Configuration for a server

Methods

impl ServerConfig
[src]

[src]

Creates a new ServerConfig

[src]

Create a basic config

[src]

Set encryption method

[src]

Set plugin

[src]

Set server addr

[src]

Get server address

[src]

Get encryption key

[src]

Get password

[src]

Get method

[src]

Get timeout

[src]

Get plugin

impl ServerConfig
[src]

[src]

Trait Implementations

impl Clone for ServerConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ServerConfig
[src]

[src]

Formats the value using the given formatter.