Struct shadowsocks_rust::config::Config
source · [−]pub struct Config {
pub log: LogConfig,
pub runtime: RuntimeConfig,
}Expand description
Configuration Options for shadowsocks service runnables
Fields
log: LogConfigLogger configuration
runtime: RuntimeConfigRuntime configuration
Implementations
Load Config from file
Load Config from string
Set by command line options
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
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