Struct shadowsocks_service::local::context::ServiceContext [−][src]
pub struct ServiceContext { /* fields omitted */ }
Expand description
Local Service Context
Implementations
Create a new ServiceContext
Get cloned shadowsocks
Context
Get shadowsocks
Context reference
Set ConnectOpts
Get ConnectOpts
reference
Set AcceptOpts
Get AcceptOpts
cloned
Set Access Control List
Get Access Control List reference
Get flow statistic reference
Set customized DNS resolver
Get reference of DNS resolver
Check if target should be bypassed
Add a record to the reverse lookup cache
Try to connect IPv6 addresses first if hostname could be resolved to both IPv4 and IPv6
Set security config
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ServiceContext
impl Send for ServiceContext
impl Sync for ServiceContext
impl Unpin for ServiceContext
impl !UnwindSafe for ServiceContext
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