Struct shadowsocks_service::config::ManagerConfig [−][src]
pub struct ManagerConfig {
pub addr: ManagerAddr,
pub method: Option<CipherKind>,
pub plugin: Option<PluginConfig>,
pub timeout: Option<Duration>,
pub server_host: ManagerServerHost,
pub mode: Mode,
pub server_mode: ManagerServerMode,
pub server_program: String,
pub server_working_directory: PathBuf,
}
Expand description
Configuration for Manager
Fields
addr: ManagerAddr
Address of ss-manager
. Send servers’ statistic data to the manager server
method: Option<CipherKind>
Manager’s default method
plugin: Option<PluginConfig>
Manager’s default plugin
timeout: Option<Duration>
Timeout for TCP connections, setting to manager’s created servers
server_host: ManagerServerHost
IP/Host for servers to bind (inbound)
Note: Outbound address is defined in Config.local_addr
mode: Mode
Server’s mode
server_mode: ManagerServerMode
Server’s running mode
server_program: String
Server’s command if running in Standalone mode
server_working_directory: PathBuf
Server’s working directory if running in Standalone mode
Implementations
Create a ManagerConfig with default options
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ManagerConfig
impl Send for ManagerConfig
impl Sync for ManagerConfig
impl Unpin for ManagerConfig
impl UnwindSafe for ManagerConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more