pub struct Server { /* private fields */ }
Expand description
Shadowsocks Server
Implementations
Create a new server from configuration
Create a new server with context
Get flow statistic reference
Set ConnectOpts
Set UDP association’s expiry duration
Set total UDP associations to be kept in one server
Set manager’s address to report stat
Get server’s configuration
Set customized DNS resolver
Set access control list
Set AcceptOpts
for accepting new connections
Try to connect IPv6 addresses first if hostname could be resolved to both IPv4 and IPv6
Set security config
Auto Trait Implementations
impl !RefUnwindSafe for Server
impl !UnwindSafe for Server
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