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

pub struct ServerConfig { /* fields omitted */ }

Configuration for a server

Methods

impl ServerConfig
[src]

Creates a new ServerConfig

Create a basic config

Set encryption method

Get server address

Get encryption key

Get password

Get method

Get timeout

impl ServerConfig
[src]

Trait Implementations

impl Clone for ServerConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ServerConfig
[src]

Formats the value using the given formatter.